nixpkgs/pkgs/development/compilers/adoptopenjdk-bin/jdk16-linux.nix

13 lines
572 B
Nix
Raw Normal View History

{ stdenv, lib }:
2021-03-20 00:11:52 +00:00
let
variant = if stdenv.hostPlatform.isMusl then "alpine_linux" else "linux";
sources = lib.importJSON ./sources.json;
2021-03-20 00:11:52 +00:00
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; };
2021-03-20 00:11:52 +00:00
}