Skip to content

Commit

Permalink
zlib: Fix zlib.net URL. (#21753)
Browse files Browse the repository at this point in the history
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.
(cherry picked from commit d042abe)
  • Loading branch information
sh01 authored and vcunat committed Jan 8, 2017
1 parent 145d33c commit 6b5fb88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/zlib/default.nix
Expand Up @@ -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";
Expand Down

0 comments on commit 6b5fb88

Please sign in to comment.