aboutsummaryrefslogtreecommitdiff
path: root/corepkgs/nar.nix
diff options
context:
space:
mode:
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;
}