1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 04:56:01 +01:00

Remove the dependency to which in the tests

This commit is contained in:
Théophane Hufschmitt 2022-04-11 10:20:36 +02:00
parent d97b9f138c
commit f76bfbfbd6

View file

@ -5,7 +5,7 @@ startGcDaemon() {
# Start the daemon, wait for the socket to appear. !!!
# nix-daemon should have an option to fork into the background.
rm -f $NIX_GC_SOCKET_PATH
$(dirname $(which nix))/../libexec/nix/nix-find-roots \
$(dirname $(command -v nix))/../libexec/nix/nix-find-roots \
-l "$NIX_GC_SOCKET_PATH" \
-d "$NIX_STATE_DIR" \
-s "$NIX_STORE_DIR" \