1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-01 06:31:00 +01:00

Fix testing the other daemon

The eventual PATH entry needs the `.../bin` or we will not use the right
daemon.

(cherry picked from commit 06fb6aecea)
This commit is contained in:
John Ericson 2021-11-18 22:22:33 +00:00
parent 918861b196
commit 7358292924

View file

@ -35,7 +35,7 @@ if [[ -n "${NIX_CLIENT_PACKAGE:-}" ]]; then
fi
DAEMON_PATH="$PATH"
if [[ -n "${NIX_DAEMON_PACKAGE:-}" ]]; then
DAEMON_PATH="${NIX_DAEMON_PACKAGE}:$DAEMON_PATH"
DAEMON_PATH="${NIX_DAEMON_PACKAGE}/bin:$DAEMON_PATH"
fi
coreutils=@coreutils@