minecraft-servers: replace openjdk16 with openjdk17

This commit is contained in:
Infinidoge 2024-07-11 17:00:19 -04:00
parent 535dd96948
commit b2e9329b58
No known key found for this signature in database

View File

@ -12,7 +12,11 @@ let
name = "vanilla-${escapeVersion version}";
value = callPackage ./derivation.nix {
inherit (value) version url sha1;
jre_headless = getJavaVersion (if value.javaVersion == null then 8 else value.javaVersion); # versions <= 1.6 will default to 8
jre_headless = getJavaVersion (
if value.javaVersion == null then 8
else if value.javaVersion == 16 then 17
else value.javaVersion
); # versions <= 1.6 will default to 8
};
})
versions;