2024-05-02 00:46:19 +00:00
|
|
|
{ stdenv, lib }:
|
|
|
|
|
|
|
|
let
|
|
|
|
variant = if stdenv.hostPlatform.isMusl then "alpine_linux" else "linux";
|
|
|
|
sources = lib.importJSON ./sources.json;
|
|
|
|
in
|
|
|
|
{
|
2024-06-30 08:12:46 +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;
|
|
|
|
};
|
2024-05-02 00:46:19 +00:00
|
|
|
}
|