mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
darwin-store: Ensure NIX_ROOT is mounted after reboot.
When a darwin host is rebooted, /nix was not mounted. Let the daemon also wait until the store mounting service is finished.
This commit is contained in:
parent
5d959b33c5
commit
bfbc0c60cc
2 changed files with 12 additions and 6 deletions
|
@ -303,8 +303,16 @@ generate_mount_daemon() {
|
|||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>RunAtLoad</key>
|
||||
<key>LaunchOnlyOnce</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<dict>
|
||||
<key>PathState</key>
|
||||
<dict>
|
||||
<key>$NIX_ROOT/store</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>Label</key>
|
||||
<string>org.nixos.darwin-store</string>
|
||||
<key>ProgramArguments</key>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue