2024-05-02 00:46:19 +00:00
|
|
|
{ lib, callPackage }:
|
|
|
|
|
|
|
|
let
|
|
|
|
sources = (lib.importJSON ./sources.json).openj9.mac;
|
2024-06-30 08:16:52 +00:00
|
|
|
common = opts: callPackage (import ./jdk-darwin-base.nix opts) { };
|
2024-05-02 00:46:19 +00:00
|
|
|
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-16 = common { sourcePerArch = sources.jdk.openjdk16; };
|
|
|
|
jre-16 = common { sourcePerArch = sources.jre.openjdk16; };
|
|
|
|
jdk-17 = common { sourcePerArch = sources.jdk.openjdk17; };
|
|
|
|
jre-17 = common { sourcePerArch = sources.jre.openjdk17; };
|
|
|
|
}
|