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