mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-10-26 21:56:29 +03:00
remote: NixDaemonSpec, shell -> proc for nix-daemon so it gets terminated
This commit is contained in:
parent
6840a2d905
commit
b754f3aa6d
@ -113,8 +113,7 @@ startDaemon fp = do
|
|||||||
procHandle <-
|
procHandle <-
|
||||||
createProcessEnv
|
createProcessEnv
|
||||||
fp
|
fp
|
||||||
$ System.Process.shell
|
$ System.Process.proc "nix-daemon" mempty
|
||||||
"nix-daemon 2>&1 | grep -v 'accepted connection'"
|
|
||||||
|
|
||||||
waitSocket sockFp 30
|
waitSocket sockFp 30
|
||||||
pure ( procHandle
|
pure ( procHandle
|
||||||
|
Loading…
Reference in New Issue
Block a user