gcc-4.7: download source code from a mirror instead of hard-coding the URL of the master site

This commit is contained in:
Peter Simons 2012-08-22 14:30:15 +02:00
parent 966b4c336d
commit 1f18f24387

View File

@ -163,7 +163,7 @@ stdenv.mkDerivation ({
builder = ./builder.sh; builder = ./builder.sh;
src = fetchurl { src = fetchurl {
url = "http://ftp.gnu.org/gnu/gcc/gcc-4.7.1/gcc-4.7.1.tar.bz2"; url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2";
sha256 = "0vs0v89zzgkngkw2p8kdynyk7j8ky4wf6zyrg3rsschpl1pky28n"; sha256 = "0vs0v89zzgkngkw2p8kdynyk7j8ky4wf6zyrg3rsschpl1pky28n";
}; };