aboutsummaryrefslogtreecommitdiff
path: root/tests/common.sh.in
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-01-14 00:05:04 +0100
committerEelco Dolstra <edolstra@gmail.com>2021-01-14 00:05:04 +0100
commit7a472a76d4dcbbd0eb7832c0bdcb120d32881e8b (patch)
treeae0c8e77b6b89239dea45b62918f0ba42c651f5c /tests/common.sh.in
parent28ef6ebf914792f9e543e9778248f06e716a859d (diff)
Add 'nix daemon' command
Diffstat (limited to 'tests/common.sh.in')
-rw-r--r--tests/common.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in
index 5489c0c44..e3bcab507 100644
--- a/tests/common.sh.in
+++ b/tests/common.sh.in
@@ -73,7 +73,7 @@ startDaemon() {
# Start the daemon, wait for the socket to appear. !!!
# ‘nix-daemon’ should have an option to fork into the background.
rm -f $NIX_STATE_DIR/daemon-socket/socket
- nix-daemon &
+ nix daemon &
for ((i = 0; i < 30; i++)); do
if [ -e $NIX_DAEMON_SOCKET_PATH ]; then break; fi
sleep 1