1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

Revert "fix: remove manual wait4path in nix-daemon"

This reverts commit 6aec084fa5.
This commit is contained in:
will 2024-09-08 19:08:52 +10:00
parent 328bd8438e
commit c8f136ecc5
No known key found for this signature in database

View file

@ -44,7 +44,10 @@ in
nix.useDaemon = true; nix.useDaemon = true;
launchd.daemons.nix-daemon = { launchd.daemons.nix-daemon = {
command = "${config.nix.package}/bin/nix-daemon"; serviceConfig.ProgramArguments = [
"/bin/sh" "-c"
"/bin/wait4path ${config.nix.package}/bin/nix-daemon && exec ${config.nix.package}/bin/nix-daemon"
];
serviceConfig.ProcessType = config.nix.daemonProcessType; serviceConfig.ProcessType = config.nix.daemonProcessType;
serviceConfig.LowPriorityIO = config.nix.daemonIOLowPriority; serviceConfig.LowPriorityIO = config.nix.daemonIOLowPriority;
serviceConfig.Label = "org.nixos.nix-daemon"; # must match daemon installed by Nix regardless of the launchd label Prefix serviceConfig.Label = "org.nixos.nix-daemon"; # must match daemon installed by Nix regardless of the launchd label Prefix