diff options
author | Shea Levy <shea@shealevy.com> | 2012-07-08 11:11:02 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-09 15:29:49 -0400 |
commit | a2865f6b3d2af5593a100cba5c86ba62a1330bdb (patch) | |
tree | 04fed05db1dfc07af95df9ac4199bd26b59458b4 /corepkgs/fetchurl.nix | |
parent | 53f52c2111bcf339bdaab703a263fd2c001da51c (diff) |
corepkgs/fetchurl: Build locally and outside of the chroot
Diffstat (limited to 'corepkgs/fetchurl.nix')
-rw-r--r-- | corepkgs/fetchurl.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/corepkgs/fetchurl.nix b/corepkgs/fetchurl.nix index 3d467fe18..91870a70c 100644 --- a/corepkgs/fetchurl.nix +++ b/corepkgs/fetchurl.nix @@ -23,4 +23,10 @@ derivation { if sha256 != "" then sha256 else if sha1 != "" then sha1 else md5; inherit system url curl; + + # No need to double the amount of network traffic + preferLocalBuild = true; + + # Don't build in a chroot because Nix's dependencies may not be there. + __noChroot = true; } |