openjdk/darwin: move version out of name
This commit is contained in:
parent
64ed9a9a99
commit
5b8a0c92fe
1 changed files with 3 additions and 2 deletions
|
@ -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/";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue