Merge pull request #48649 from jerith666/jdk10-arm-oracle-retire
jdk10: remove special handling for arm
This commit is contained in:
commit
11b097c7a4
@ -6970,14 +6970,12 @@ with pkgs;
|
|||||||
(lib.addMetaAttrs { outputsToInstall = [ "jre" ]; }
|
(lib.addMetaAttrs { outputsToInstall = [ "jre" ]; }
|
||||||
((openjdk8.override { minimal = true; }).jre // { outputs = [ "jre" ]; }));
|
((openjdk8.override { minimal = true; }).jre // { outputs = [ "jre" ]; }));
|
||||||
|
|
||||||
jdk10 = if stdenv.isAarch32 || stdenv.isAarch64 then oraclejdk10 else openjdk10 // { outputs = [ "out" ]; };
|
jdk10 = openjdk10 // { outputs = [ "out" ]; };
|
||||||
jre10 = if stdenv.isAarch32 || stdenv.isAarch64 then oraclejre10 else lib.setName "openjre-${lib.getVersion pkgs.openjdk10.jre}"
|
jre10 = lib.setName "openjre-${lib.getVersion pkgs.openjdk10.jre}"
|
||||||
(lib.addMetaAttrs { outputsToInstall = [ "jre" ]; }
|
(lib.addMetaAttrs { outputsToInstall = [ "jre" ]; }
|
||||||
(openjdk10.jre // { outputs = [ "jre" ]; }));
|
(openjdk10.jre // { outputs = [ "jre" ]; }));
|
||||||
jre10_headless =
|
jre10_headless =
|
||||||
if stdenv.isAarch32 || stdenv.isAarch64 then
|
if stdenv.isDarwin then
|
||||||
oraclejre10
|
|
||||||
else if stdenv.isDarwin then
|
|
||||||
jre10
|
jre10
|
||||||
else
|
else
|
||||||
lib.setName "openjre-${lib.getVersion pkgs.openjdk10.jre}-headless"
|
lib.setName "openjre-${lib.getVersion pkgs.openjdk10.jre}-headless"
|
||||||
|
Loading…
Reference in New Issue
Block a user