remote: NixDaemonSpec, shell -> proc for nix-daemon so it gets terminated

This commit is contained in:
sorki 2023-12-10 19:22:30 +01:00
parent 6840a2d905
commit b754f3aa6d

View File

@ -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