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.
wip/yesman
Sebastian Hagen 8 years ago committed by Vladimír Čunát
parent 94c4eab6cc
commit d042abef26
  1. 2
      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";

Loading…
Cancel
Save