mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 05:56:03 +01:00
Make the tests (optionnally) run in another derivation
That way we can run them without rebuilding Nix
(cherry picked from commit a0866c8ea4)
This commit is contained in:
parent
02a186883b
commit
62a42ab43e
1 changed files with 6 additions and 0 deletions
|
|
@ -26,6 +26,12 @@ unset XDG_CACHE_HOME
|
||||||
mkdir -p $TEST_HOME
|
mkdir -p $TEST_HOME
|
||||||
|
|
||||||
export PATH=@bindir@:$PATH
|
export PATH=@bindir@:$PATH
|
||||||
|
if [[ -n "${NIX_CLIENT_PACKAGE:-}" ]]; then
|
||||||
|
export PATH="$NIX_CLIENT_PACKAGE/bin":$PATH
|
||||||
|
fi
|
||||||
|
if [[ -n "${NIX_DAEMON_PACKAGE:-}" ]]; then
|
||||||
|
export NIX_DAEMON_COMMAND="$NIX_DAEMON_PACKAGE/bin/nix-daemon"
|
||||||
|
fi
|
||||||
coreutils=@coreutils@
|
coreutils=@coreutils@
|
||||||
|
|
||||||
export dot=@dot@
|
export dot=@dot@
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue