From d042abef267435a5b387198070dc9ff80a62efec Mon Sep 17 00:00:00 2001 From: Sebastian Hagen Date: Sun, 8 Jan 2017 17:09:57 +0000 Subject: 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. --- pkgs/development/libraries/zlib/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development/libraries/zlib') diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix index 21a7e81ce3e..dd73974b140 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"; -- cgit 1.4.1