From a00efcb36c1e76cf5c8defbaa75d1c2d97e08a6b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 11 Jul 2024 09:52:40 +0200 Subject: [PATCH] Fix daemon test --- tests/functional/common/vars-and-functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/functional/common/vars-and-functions.sh b/tests/functional/common/vars-and-functions.sh index a1f51dc88..e21a7ff0a 100644 --- a/tests/functional/common/vars-and-functions.sh +++ b/tests/functional/common/vars-and-functions.sh @@ -123,7 +123,8 @@ startDaemon() { fi # Start the daemon, wait for the socket to appear. rm -f $NIX_DAEMON_SOCKET_PATH - PATH=$DAEMON_PATH nix daemon & + # TODO: remove the nix-command feature when we're no longer testing against old daemons. + PATH=$DAEMON_PATH nix daemon --extra-experimental-features nix-command & _NIX_TEST_DAEMON_PID=$! export _NIX_TEST_DAEMON_PID for ((i = 0; i < 300; i++)); do