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