mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
release.nix: Build out of chroot.
* release.nix: Add `preConfigure' and `__noChroot' attributes.
This commit is contained in:
parent
437e0729d8
commit
10d8289861
1 changed files with 4 additions and 3 deletions
|
@ -46,9 +46,10 @@ let
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--with-nixpkgs=${nixpkgs}" "--with-nix-prefix=${pkgs.nix}" ];
|
[ "--with-nixpkgs=${nixpkgs}" "--with-nix-prefix=${pkgs.nix}" ];
|
||||||
|
|
||||||
# XXX: The test suite cannot be run currently in the chroot, because
|
# XXX: Since we need to talk to a running daemon, for the benefit of
|
||||||
# it expects to have a running nix-worker to talk to.
|
# `nixpkgs-derivation*' & co., we need to escape the chroot.
|
||||||
doCheck = false;
|
preConfigure = "export NIX_REMOTE=daemon";
|
||||||
|
__noChroot = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue