mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
Make the tests (optionnally) run in another derivation
That way we can run them without rebuilding Nix
This commit is contained in:
parent
eab9cdbd75
commit
a0866c8ea4
2 changed files with 42 additions and 5 deletions
|
@ -29,6 +29,12 @@ unset XDG_CACHE_HOME
|
|||
mkdir -p $TEST_HOME
|
||||
|
||||
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@
|
||||
|
||||
export dot=@dot@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue