2022-10-21 18:38:19 +00:00
|
|
|
{ stdenv, lib }:
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
let
|
2022-10-21 18:38:19 +00:00
|
|
|
variant = if stdenv.hostPlatform.isMusl then "alpine_linux" else "linux";
|
2021-12-06 16:07:01 +00:00
|
|
|
sources = lib.importJSON ./sources.json;
|
2021-03-20 04:20:00 +00:00
|
|
|
in
|
|
|
|
{
|
2022-10-21 18:38:19 +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 04:20:00 +00:00
|
|
|
}
|