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.
This commit is contained in:
Eelco Dolstra 2012-05-09 22:14:36 -04:00
parent cb1248d208
commit 663c06e8cd
3 changed files with 10 additions and 0 deletions

View file

@ -28,4 +28,7 @@ derivation {
builder = shell;
args = [ "-e" builder ];
inherit storePath hashAlgo;
# Don't build in a chroot because Nix's dependencies may not be there.
__noChroot = true;
}