c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
12 lines
572 B
Nix
12 lines
572 B
Nix
{ stdenv, lib }:
|
|
|
|
let
|
|
variant = if stdenv.hostPlatform.isMusl then "alpine_linux" else "linux";
|
|
sources = lib.importJSON ./sources.json;
|
|
in
|
|
{
|
|
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; };
|
|
}
|