mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
Use wait4path on org.nixos.nix-daemon.plist
When using a volume, the nix-daemon path may not exist. To avoid this issue, we must use the wait4path tool. This should solve one of the issues in multi-user on macOS Catalina.
This commit is contained in:
parent
324a5dc92f
commit
800fba1037
@ -14,7 +14,12 @@
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>Program</key>
|
||||
<string>@bindir@/nix-daemon</string>
|
||||
<string>/bin/sh</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>-c</string>
|
||||
<string>/bin/wait4path @bindir@/nix-daemon && @bindir@/nix-daemon</string>
|
||||
</array>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>/var/log/nix-daemon.log</string>
|
||||
<key>StandardOutPath</key>
|
||||
|
Loading…
Reference in New Issue
Block a user