From 663c06e8cd7d44443b0495b13f2bb08e2cfab889 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 9 May 2012 22:14:36 -0400 Subject: 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. --- corepkgs/nar.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'corepkgs/nar.nix') diff --git a/corepkgs/nar.nix b/corepkgs/nar.nix index 5be8be10c166..4747dc31def2 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; } -- cgit 1.4.1