1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

darwin-installer: Do not kickstart darwin-store service.

It is now RunOnlyOnce, so it is automatically unloaded after running.
It should also be forcefully loaded by launchctl bootstrap...
This commit is contained in:
John Soo 2021-12-01 13:48:12 -08:00
parent bfbc0c60cc
commit 535858952c
No known key found for this signature in database
GPG key ID: D8A148F8CE4DDBC2

View file

@ -812,12 +812,6 @@ EOF
# TODO: should probably alert the user if this is disabled?
_sudo "to launch the Nix volume mounter" \
launchctl bootstrap system "$NIX_VOLUME_MOUNTD_DEST" || true
# TODO: confirm whether kickstart is necessesary?
# I feel a little superstitous, but it can guard
# against multiple problems (doesn't start, old
# version still running for some reason...)
_sudo "to launch the Nix volume mounter" \
launchctl kickstart -k system/org.nixos.darwin-store
fi
}