core/pkgs/by-name/ja/java/adoptopenjdk-bin/jdk17-linux.nix

14 lines
374 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
{ stdenv, lib }:
let
variant = if stdenv.hostPlatform.isMusl then "alpine_linux" else "linux";
sources = lib.importJSON ./sources.json;
2024-05-13 21:24:10 +00:00
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;
};
2024-05-02 00:46:19 +00:00
}