mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
11 lines
362 B
Nix
11 lines
362 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; };
|
|
}
|