mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
corepkgs/fetchurl: Build locally and outside of the chroot
This commit is contained in:
parent
53f52c2111
commit
a2865f6b3d
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue