Merge pull request #117214 from siraben/openjdk-darwin-eval

openjdk/darwin: move version out of name
This commit is contained in:
Sandro 2021-03-22 22:52:50 +01:00 committed by GitHub
commit 31e4678c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,10 +7,11 @@ let
};
jdk = stdenv.mkDerivation rec {
name = "zulu15.28.51-ca-jdk15.0.1";
pname = "zulu15.28.51-ca-jdk";
version = "15.0.1";
src = fetchurl {
url = "https://cdn.azul.com/zulu/bin/${name}-macosx_x64.tar.gz";
url = "https://cdn.azul.com/zulu/bin/${pname}${version}-macosx_x64.tar.gz";
sha256 = "0h738pbnwcn7pjp0qyryzazqj5nw5sy2f8l0ycl39crm9ia6akvh";
curlOpts = "-H Referer:https://www.azul.com/downloads/zulu/";
};