mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 15:41:40 +00:00
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" ]; }
|
||||
((openjdk8.override { minimal = true; }).jre // { outputs = [ "jre" ]; }));
|
||||
|
||||
jdk10 = if stdenv.isAarch32 || stdenv.isAarch64 then oraclejdk10 else openjdk10 // { outputs = [ "out" ]; };
|
||||
jre10 = if stdenv.isAarch32 || stdenv.isAarch64 then oraclejre10 else lib.setName "openjre-${lib.getVersion pkgs.openjdk10.jre}"
|
||||
jdk10 = openjdk10 // { outputs = [ "out" ]; };
|
||||
jre10 = lib.setName "openjre-${lib.getVersion pkgs.openjdk10.jre}"
|
||||
(lib.addMetaAttrs { outputsToInstall = [ "jre" ]; }
|
||||
(openjdk10.jre // { outputs = [ "jre" ]; }));
|
||||
jre10_headless =
|
||||
if stdenv.isAarch32 || stdenv.isAarch64 then
|
||||
oraclejre10
|
||||
else if stdenv.isDarwin then
|
||||
if stdenv.isDarwin then
|
||||
jre10
|
||||
else
|
||||
lib.setName "openjre-${lib.getVersion pkgs.openjdk10.jre}-headless"
|
||||
|
|
Loading…
Reference in a new issue