core/pkgs/by-name/ja/java/adoptopenjdk-bin/jdk17-linux.nix
2024-06-30 09:16:52 +01:00

15 lines
374 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.openjdk17.${variant}.jdk.hotspot;
};
jre-hotspot = import ./jdk-linux-base.nix {
sourcePerArch = sources.openjdk17.${variant}.jre.hotspot;
};
}