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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
362 B
Nix
Raw Normal View History

{ stdenv, lib }:
2022-03-23 01:56:36 +00:00
let
variant = if stdenv.hostPlatform.isMusl then "alpine_linux" else "linux";
2022-03-23 01:56:36 +00:00
sources = lib.importJSON ./sources.json;
in
{
jdk-hotspot = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk17.${variant}.jdk.hotspot; };
jre-hotspot = import ./jdk-linux-base.nix { sourcePerArch = sources.openjdk17.${variant}.jre.hotspot; };
2022-03-23 01:56:36 +00:00
}