about summary refs log tree commit diff
path: root/pkgs/development/compilers/adoptopenjdk-bin/jdk17-linux.nix
blob: b8bb1cbf2bab7b55f18999e6661386299c42d21e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{ stdenv, lib }:

let
  variant = if stdenv.hostPlatform.isMusl then "alpine_linux" else "linux";
  sources = import ./sources.nix;
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; };
}