Skip to content

Commit

Permalink
Use wait4path on org.nixos.nix-daemon.plist
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matthewbauer committed Aug 27, 2019
1 parent 324a5dc commit 800fba1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion misc/launchd/org.nixos.nix-daemon.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 &amp;&amp; @bindir@/nix-daemon</string>
</array>
<key>StandardErrorPath</key>
<string>/var/log/nix-daemon.log</string>
<key>StandardOutPath</key>
Expand Down

0 comments on commit 800fba1

Please sign in to comment.