diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-05-10T02·14-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-05-10T02·14-0400 |
commit | 663c06e8cd7d44443b0495b13f2bb08e2cfab889 (patch) | |
tree | 8f3dbb2eb2c923961b22839f927a1b9accb32177 /corepkgs/unpack-channel.nix | |
parent | cb1248d2082ff8292e2516f124feea4427cf150a (diff) |
Disable building in chroot for Nix's corepkgs
The dependencies of the corepkgs are not necessarily in the chroot (or in the Nix store), so don't build them in a chroot.
Diffstat (limited to 'corepkgs/unpack-channel.nix')
-rw-r--r-- | corepkgs/unpack-channel.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/corepkgs/unpack-channel.nix b/corepkgs/unpack-channel.nix index 0fc2b2f456c4..245430ab0feb 100644 --- a/corepkgs/unpack-channel.nix +++ b/corepkgs/unpack-channel.nix @@ -8,6 +8,10 @@ derivation { args = [ "-e" ./unpack-channel.sh ]; inherit name channelName src bzip2 tar tr; PATH = "${nixBinDir}:${coreutils}"; + # No point in doing this remotely. preferLocalBuild = true; + + # Don't build in a chroot because Nix's dependencies may not be there. + __noChroot = true; } |