Skip to content

Commit

Permalink
flake.lock: Update with nix flake update
Browse files Browse the repository at this point in the history
This updates to Gradle 8.8, so I changed a comment in `flake.nix` that
referred to Gradle 8.7 to refer to Gradle 8.x.

The comment referencing JDK 22 on jextract is important, so let's leave
it for now. When Nix jextract is updated we will know and can update that
comment then.

Note that the Nix Gradle 8.x package will track the latest LTS JDK, so
_might_ update when JDK 25 is released, but of course we might be on
Gradle 9 by then.
  • Loading branch information
msgilligan committed Aug 20, 2024
1 parent bfcdeca commit 01f0bea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 44 deletions.
52 changes: 9 additions & 43 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
packages = with pkgs ; [
jdk22 # JDK 22 will be in $JAVA_HOME (and in javaToolchains)
jextract # jextract (Nix package) contains a jlinked executable and bundles its own JDK 22
(gradle.override { # Gradle 8.7 (Nix package) depends-on and directly uses JDK 21 to launch Gradle itself
(gradle.override { # Gradle 8.x (Nix package) depends-on and directly uses JDK 21 to launch Gradle itself
javaToolchains = [ jdk22 ]; # Put JDK 22 in Gradle's javaToolchain configuration
})
];
Expand Down

0 comments on commit 01f0bea

Please sign in to comment.