Skip to content

Commit

Permalink
Use default Java version
Browse files Browse the repository at this point in the history
The default version is actually 21, so, nothing changes before any Flake
updates
  • Loading branch information
quapka committed Aug 18, 2024
1 parent 3ea507c commit 656b41d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@
pname = "ECTesterStandalone";
version = "0.3.3";
lockFile = ./gradle.lock;
buildJdk = pkgs.jdk21_headless;
buildJdk = pkgs.jdk_headless;

# NOTE: the shims are built separately, therefore no need to call build `libs` target
gradleBuildFlags = [ ":standalone:uberJar" ];
Expand Down Expand Up @@ -681,7 +681,7 @@

postFixup = ''
makeWrapper \
${jdk21_headless}/bin/java $out/bin/${pname} \
${jdk_headless}/bin/java $out/bin/${pname} \
--add-flags "-Dstdout.encoding=UTF8 -Dstderr.encoding=UTF8 -jar $out/build/libs/${pname}.jar" \
--set LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:$LD_LIBRARY_PATH
'';
Expand Down

0 comments on commit 656b41d

Please sign in to comment.