2022-10-21 18:38:19 +00:00
|
|
|
{ stdenv, lib }:
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2020-04-24 23:36:52 +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;
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
|
|
|
{
|
2022-10-21 18:38:19 +00:00
|
|
|
jdk-hotspot = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk8.${variant}.jdk.hotspot; };
|
|
|
|
jre-hotspot = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk8.${variant}.jre.hotspot; };
|
|
|
|
jdk-openj9 = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk8.${variant}.jdk.openj9; };
|
|
|
|
jre-openj9 = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk8.${variant}.jre.openj9; };
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|