File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 22
22
config . allowUnfreePredicate = pkg :
23
23
builtins . elem ( pkgs . lib . getName pkg ) allowedUnfree ;
24
24
} ;
25
+ jdk = pkgs . jdk24 ;
26
+ jdk-headless = pkgs . jdk24_headless ;
25
27
graalvm = pkgs . graalvmPackages . graalvm-oracle_25-ea ;
26
28
sharedShellHook = ''
27
29
if [[ "$(uname)" == "Darwin" ]]; then
42
44
# current jextract in nixpkgs is broken, see: https://github.com/NixOS/nixpkgs/issues/354591
43
45
# jextract # jextract (Nix package) contains a jlinked executable and bundles its own JDK
44
46
( gradle_9 . override { # Gradle (Nix package) runs using an internally-linked JDK
45
- java = jdk24 ; # Run Gradle with this JDK
47
+ java = jdk ; # Run Gradle with this JDK
46
48
} )
47
49
] ;
48
50
shellHook = sharedShellHook ;
53
55
packages = with pkgs ; [
54
56
graalvm # This JDK will be in PATH
55
57
( gradle_9 . override { # Gradle (Nix package) runs using an internally-linked JDK
56
- java = jdk24_headless ; # Run Gradle with this JDK
58
+ java = jdk-headless ; # Run Gradle with this JDK
57
59
} )
58
60
] ;
59
61
shellHook = sharedShellHook ;
You can’t perform that action at this time.
0 commit comments