* Turn on `preferLocalBuild' for fetchurl.
svn path=/nixpkgs/trunk/; revision=22948
This commit is contained in:
@@ -100,4 +100,8 @@ stdenv.mkDerivation {
|
|||||||
] ++ (map (site: "NIX_MIRRORS_${site}") sites);
|
] ++ (map (site: "NIX_MIRRORS_${site}") sites);
|
||||||
|
|
||||||
inherit showURLs mirrorsFile;
|
inherit showURLs mirrorsFile;
|
||||||
|
|
||||||
|
# Doing the download on a remote machine just duplicates network
|
||||||
|
# traffic, so don't do that.
|
||||||
|
preferLocalBuild = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user