summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-08-14 18:52:41 +0200
committerLudovic Courtès <ludo@gnu.org>2012-08-14 18:52:41 +0200
commit10d82898611572dd9be02c18a51089e14bcd7207 (patch)
treeb92c6cfb8162e5f175ef86d85b51e37e2173065b /release.nix
parent437e0729d86e750bed5ca76307e5dad610a337e6 (diff)
downloadguix-10d82898611572dd9be02c18a51089e14bcd7207.tar.gz
release.nix: Build out of chroot.
* release.nix: Add `preConfigure' and `__noChroot' attributes.
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/release.nix b/release.nix
index 8d87d03bda..28fde3b956 100644
--- a/release.nix
+++ b/release.nix
@@ -46,9 +46,10 @@ let
         configureFlags =
           [ "--with-nixpkgs=${nixpkgs}" "--with-nix-prefix=${pkgs.nix}" ];
 
-        # XXX: The test suite cannot be run currently in the chroot, because
-        # it expects to have a running nix-worker to talk to.
-        doCheck = false;
+        # XXX: Since we need to talk to a running daemon, for the benefit of
+        # `nixpkgs-derivation*' & co., we need to escape the chroot.
+        preConfigure = "export NIX_REMOTE=daemon";
+        __noChroot = true;
       };
   };
 in