* Turn on `preferLocalBuild' for fetchurl.

svn path=/nixpkgs/trunk/; revision=22948
This commit is contained in:
Eelco Dolstra 2010-08-04 12:37:03 +00:00
parent ae68ed0907
commit aded38809b

View file

@ -100,4 +100,8 @@ stdenv.mkDerivation {
] ++ (map (site: "NIX_MIRRORS_${site}") sites);
inherit showURLs mirrorsFile;
# Doing the download on a remote machine just duplicates network
# traffic, so don't do that.
preferLocalBuild = true;
}