mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
13 lines
572 B
Nix
13 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.openjdk11.${variant}.jdk.hotspot; };
|
|
jre-hotspot = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk11.${variant}.jre.hotspot; };
|
|
jdk-openj9 = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk11.${variant}.jdk.openj9; };
|
|
jre-openj9 = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk11.${variant}.jre.openj9; };
|
|
}
|