jre8_headless: use plain jre8 on Darwin
This commit is contained in:
parent
b59b89d9e3
commit
f561eb158e
@ -4902,9 +4902,11 @@ in
|
||||
jre8 = lib.setName "openjre-${lib.getVersion pkgs.openjdk8.jre}"
|
||||
(lib.addMetaAttrs { outputsToInstall = [ "jre" ]; }
|
||||
(openjdk8.jre // { outputs = [ "jre" ]; }));
|
||||
jre8_headless = lib.setName "openjre-${lib.getVersion pkgs.openjdk8.jre}-headless"
|
||||
(lib.addMetaAttrs { outputsToInstall = [ "jre" ]; }
|
||||
((openjdk8.override { minimal = true; }).jre // { outputs = [ "jre" ]; }));
|
||||
jre8_headless =
|
||||
if stdenv.isDarwin then jre8 else
|
||||
lib.setName "openjre-${lib.getVersion pkgs.openjdk8.jre}-headless"
|
||||
(lib.addMetaAttrs { outputsToInstall = [ "jre" ]; }
|
||||
((openjdk8.override { minimal = true; }).jre // { outputs = [ "jre" ]; }));
|
||||
|
||||
jdk = if stdenv.isDarwin then jdk7 else jdk8;
|
||||
jre = if stdenv.isDarwin then jre7 else jre8;
|
||||
|
Loading…
Reference in New Issue
Block a user