core/pkgs/by-name/ja/java/adoptopenjdk-bin/jdk8-linux.nix
2024-05-13 22:24:10 +01:00

20 lines
592 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.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;
};
}