summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibault Gagnaux <tgagnaux@gmail.com>2021-12-01 09:30:01 +0100
committerThibault Gagnaux <tgagnaux@gmail.com>2021-12-09 08:23:41 +0100
commit6893810bd85fe947d33589060c6d678bafab1c44 (patch)
tree6bc8e43d8b56cae825153ba481edcee80cc3b38c
parent2c62693ebaf485ac5503b5af70d7ebf1f736f01c (diff)
downloadnixpkgs-6893810bd85fe947d33589060c6d678bafab1c44.tar
nixpkgs-6893810bd85fe947d33589060c6d678bafab1c44.tar.gz
nixpkgs-6893810bd85fe947d33589060c6d678bafab1c44.tar.bz2
nixpkgs-6893810bd85fe947d33589060c6d678bafab1c44.tar.lz
nixpkgs-6893810bd85fe947d33589060c6d678bafab1c44.tar.xz
nixpkgs-6893810bd85fe947d33589060c6d678bafab1c44.tar.zst
nixpkgs-6893810bd85fe947d33589060c6d678bafab1c44.zip
openjdk: pin jce-policies to a version using wayback machine
Co-authored-by: SuperSandro2000 <sandro.jaeckel@gmail.com>
-rw-r--r--pkgs/development/compilers/openjdk/darwin/11.nix7
-rw-r--r--pkgs/development/compilers/openjdk/darwin/16.nix3
-rw-r--r--pkgs/development/compilers/openjdk/darwin/8.nix3
3 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/development/compilers/openjdk/darwin/11.nix b/pkgs/development/compilers/openjdk/darwin/11.nix
index bd83ea82113..d8c1bb6bf25 100644
--- a/pkgs/development/compilers/openjdk/darwin/11.nix
+++ b/pkgs/development/compilers/openjdk/darwin/11.nix
@@ -23,14 +23,13 @@ let
       zuluVersion = "11.48.21";
       jdkVersion = "11.0.11";
       sha256 =
-      if enableJavaFX then "ef0de2705c6c2d586812f7f3736b70e22b069545b38034816016f9f264ad43f9"
-      else "066whglrxx81c95grv2kxdbvyh32728ixhml2v44ildh549n4lhc";
+        if enableJavaFX then "ef0de2705c6c2d586812f7f3736b70e22b069545b38034816016f9f264ad43f9"
+        else "066whglrxx81c95grv2kxdbvyh32728ixhml2v44ildh549n4lhc";
     };
   }."${stdenv.hostPlatform.system}";
 
   jce-policies = fetchurl {
-    # Ugh, unversioned URLs... I hope this doesn't change often enough to cause pain before we move to a Darwin source build of OpenJDK!
-    url = "http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip";
+    url = "https://web.archive.org/web/20211126120343/http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip";
     sha256 = "0nk7m0lgcbsvldq2wbfni2pzq8h818523z912i7v8hdcij5s48c0";
   };
 
diff --git a/pkgs/development/compilers/openjdk/darwin/16.nix b/pkgs/development/compilers/openjdk/darwin/16.nix
index 56333bd4818..d491d75322f 100644
--- a/pkgs/development/compilers/openjdk/darwin/16.nix
+++ b/pkgs/development/compilers/openjdk/darwin/16.nix
@@ -29,8 +29,7 @@ let
   }."${stdenv.hostPlatform.system}";
 
   jce-policies = fetchurl {
-    # Ugh, unversioned URLs... I hope this doesn't change often enough to cause pain before we move to a Darwin source build of OpenJDK!
-    url = "http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip";
+    url = "https://web.archive.org/web/20211126120343/http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip";
     sha256 = "0nk7m0lgcbsvldq2wbfni2pzq8h818523z912i7v8hdcij5s48c0";
   };
 
diff --git a/pkgs/development/compilers/openjdk/darwin/8.nix b/pkgs/development/compilers/openjdk/darwin/8.nix
index 2a73fb336c8..1d829450a1e 100644
--- a/pkgs/development/compilers/openjdk/darwin/8.nix
+++ b/pkgs/development/compilers/openjdk/darwin/8.nix
@@ -29,8 +29,7 @@ let
   }."${stdenv.hostPlatform.system}";
 
   jce-policies = fetchurl {
-    # Ugh, unversioned URLs... I hope this doesn't change often enough to cause pain before we move to a Darwin source build of OpenJDK!
-    url = "http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip";
+    url = "https://web.archive.org/web/20211126120343/http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip";
     sha256 = "0nk7m0lgcbsvldq2wbfni2pzq8h818523z912i7v8hdcij5s48c0";
   };