aboutsummaryrefslogtreecommitdiff
path: root/corepkgs/nar.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-09 22:14:36 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-09 22:14:36 -0400
commit663c06e8cd7d44443b0495b13f2bb08e2cfab889 (patch)
tree8f3dbb2eb2c923961b22839f927a1b9accb32177 /corepkgs/nar.nix
parentcb1248d2082ff8292e2516f124feea4427cf150a (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/nar.nix')
-rw-r--r--corepkgs/nar.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/corepkgs/nar.nix b/corepkgs/nar.nix
index 5be8be10c..4747dc31d 100644
--- a/corepkgs/nar.nix
+++ b/corepkgs/nar.nix
@@ -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;
}