mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
minecraft-servers: replace openjdk16 with openjdk17
This commit is contained in:
parent
535dd96948
commit
b2e9329b58
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user