diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in
index 92ed12fa5..6bc448d28 100644
--- a/misc/launchd/org.nixos.nix-daemon.plist.in
+++ b/misc/launchd/org.nixos.nix-daemon.plist.in
@@ -14,7 +14,12 @@
RunAtLoad
Program
- @bindir@/nix-daemon
+ /bin/sh
+ ProgramArguments
+
+ -c
+ /bin/wait4path @bindir@/nix-daemon && @bindir@/nix-daemon
+
StandardErrorPath
/var/log/nix-daemon.log
StandardOutPath