mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
gcc-4.7: download source code from a mirror instead of hard-coding the URL of the master site
This commit is contained in:
parent
966b4c336d
commit
1f18f24387
@ -163,7 +163,7 @@ stdenv.mkDerivation ({
|
||||
builder = ./builder.sh;
|
||||
|
||||
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";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user