diff options
Diffstat (limited to 'pkgs/development/compilers/temurin-bin/jdk-darwin-base.nix')
-rw-r--r-- | pkgs/development/compilers/temurin-bin/jdk-darwin-base.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/temurin-bin/jdk-darwin-base.nix b/pkgs/development/compilers/temurin-bin/jdk-darwin-base.nix index 14871813273dd..8f6831a7907c8 100644 --- a/pkgs/development/compilers/temurin-bin/jdk-darwin-base.nix +++ b/pkgs/development/compilers/temurin-bin/jdk-darwin-base.nix @@ -24,7 +24,7 @@ let sourcePerArch.${cpuName}.version or (throw "unsupported CPU ${cpuName}"); src = fetchurl { - inherit (sourcePerArch.${cpuName}) url sha256; + inherit (sourcePerArch.${cpuName} or (throw "unsupported system ${stdenv.hostPlatform.system}")) url sha256; }; # See: https://github.com/NixOS/patchelf/issues/10 |