Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
18 lines
715 B
Nix
18 lines
715 B
Nix
{ lib, callPackage }:
|
|
|
|
let
|
|
sources = (lib.importJSON ./sources.json).openj9.mac;
|
|
common = opts: callPackage (import ./jdk-darwin-base.nix opts) {};
|
|
|
|
# EOL = [ "This JDK/JRE version has reached End of Life." ];
|
|
in
|
|
{
|
|
jdk-8 = common { sourcePerArch = sources.jdk.openjdk8; };
|
|
jre-8 = common { sourcePerArch = sources.jre.openjdk8; };
|
|
jdk-11 = common { sourcePerArch = sources.jdk.openjdk11; };
|
|
jre-11 = common { sourcePerArch = sources.jre.openjdk11; };
|
|
jdk-17 = common { sourcePerArch = sources.jdk.openjdk17; };
|
|
jre-17 = common { sourcePerArch = sources.jre.openjdk17; };
|
|
jdk-21 = common { sourcePerArch = sources.jdk.openjdk21; };
|
|
jre-21 = common { sourcePerArch = sources.jre.openjdk21; };
|
|
}
|