aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/zlib
diff options
context:
space:
mode:
authorSebastian Hagen <sh_github@memespace.net>2017-01-08 17:09:57 +0000
committerVladimír Čunát <vcunat@gmail.com>2017-01-08 18:09:57 +0100
commitd042abef267435a5b387198070dc9ff80a62efec (patch)
treef7ad710d964e23ce94bbc3e5bb56dc2821bb8cd4 /pkgs/development/libraries/zlib
parent94c4eab6cca039381044ce7ae29aed175ec8749b (diff)
zlib: Fix zlib.net URL. (#21753)
Look for primary source file below http://zlib.net/fossils/ as opposed to http://zlib.net/ . zlib-1.2.8.tar.gz is still available at the former location, and will likely remain there. In addition, it's important that the first URL work since zlib is in the bootstrap path, and 16.09 (at least) bootstrap doesn't try to fetch from later ones.
Diffstat (limited to 'pkgs/development/libraries/zlib')
-rw-r--r--pkgs/development/libraries/zlib/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix
index 21a7e81ce3ed..dd73974b140e 100644
--- a/pkgs/development/libraries/zlib/default.nix
+++ b/pkgs/development/libraries/zlib/default.nix
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
urls =
- [ "http://www.zlib.net/${name}.tar.gz" # old versions vanish from here
+ [ "http://www.zlib.net/fossils/${name}.tar.gz" # stable archive path
"mirror://sourceforge/libpng/zlib/${version}/${name}.tar.gz"
];
sha256 = "039agw5rqvqny92cpkrfn243x2gd4xn13hs3xi6isk55d2vqqr9n";