2022-10-10 08:57:08 +00:00
|
|
|
{ stdenv, lib }:
|
2021-11-03 12:43:23 +00:00
|
|
|
|
2021-03-20 00:11:52 +00:00
|
|
|
let
|
2022-10-10 08:57:08 +00:00
|
|
|
variant = if stdenv.hostPlatform.isMusl then "alpine_linux" else "linux";
|
2021-11-03 12:43:23 +00:00
|
|
|
sources = lib.importJSON ./sources.json;
|
2021-03-20 00:11:52 +00:00
|
|
|
in
|
|
|
|
{
|
2022-10-10 08:57:08 +00:00
|
|
|
jdk-hotspot = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk16.${variant}.jdk.hotspot; };
|
|
|
|
jre-hotspot = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk16.${variant}.jre.hotspot; };
|
|
|
|
jdk-openj9 = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk16.${variant}.jdk.openj9; };
|
|
|
|
jre-openj9 = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk16.${variant}.jre.openj9; };
|
2021-03-20 00:11:52 +00:00
|
|
|
}
|