diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-08-14 18:52:41 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-08-14 18:52:41 +0200 |
commit | 10d82898611572dd9be02c18a51089e14bcd7207 (patch) | |
tree | b92c6cfb8162e5f175ef86d85b51e37e2173065b | |
parent | 437e0729d86e750bed5ca76307e5dad610a337e6 (diff) | |
download | guix-10d82898611572dd9be02c18a51089e14bcd7207.tar.gz |
release.nix: Build out of chroot.
* release.nix: Add `preConfigure' and `__noChroot' attributes.
-rw-r--r-- | release.nix | 7 |
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 |