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.
This commit is contained in:
parent
94c4eab6cc
commit
d042abef26
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls =
|
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"
|
"mirror://sourceforge/libpng/zlib/${version}/${name}.tar.gz"
|
||||||
];
|
];
|
||||||
sha256 = "039agw5rqvqny92cpkrfn243x2gd4xn13hs3xi6isk55d2vqqr9n";
|
sha256 = "039agw5rqvqny92cpkrfn243x2gd4xn13hs3xi6isk55d2vqqr9n";
|
||||||
|
Loading…
Reference in New Issue
Block a user