From b754f3aa6ddc6c425b40eb3a7482b5bfd920d4c1 Mon Sep 17 00:00:00 2001 From: sorki Date: Sun, 10 Dec 2023 19:22:30 +0100 Subject: [PATCH] remote: NixDaemonSpec, shell -> proc for nix-daemon so it gets terminated --- hnix-store-remote/tests-io/NixDaemonSpec.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hnix-store-remote/tests-io/NixDaemonSpec.hs b/hnix-store-remote/tests-io/NixDaemonSpec.hs index ff810b0..d91848a 100644 --- a/hnix-store-remote/tests-io/NixDaemonSpec.hs +++ b/hnix-store-remote/tests-io/NixDaemonSpec.hs @@ -113,8 +113,7 @@ startDaemon fp = do procHandle <- createProcessEnv fp - $ System.Process.shell - "nix-daemon 2>&1 | grep -v 'accepted connection'" + $ System.Process.proc "nix-daemon" mempty waitSocket sockFp 30 pure ( procHandle