mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-01-22 19:55:44 +01:00
19 lines
469 B
Nix
19 lines
469 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
let
|
|
unstable = import (fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz) { };
|
|
toolchains = [ unstable.jdk23 ];
|
|
in
|
|
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = [
|
|
(unstable.gradle.overrideAttrs (curr: old: {
|
|
fixupPhase = ''
|
|
cat > $out/lib/gradle/gradle.properties <<EOF
|
|
org.gradle.java.installations.paths=${pkgs.lib.concatStringsSep "," toolchains}
|
|
EOF
|
|
'';
|
|
}))
|
|
];
|
|
}
|