mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
install-darwin: fix symbolic perms for install cmd
The symbolic form in use here doesn't seem to have an effect in either the BSD or coreutils install commands, leaving the daemon plist with empty permissions. This seems to cause its own problems. I think I've got the right symbolic syntax now :)
This commit is contained in:
parent
bdb6f56c90
commit
64a076fe06
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ poly_extra_try_me_commands() {
|
|||
poly_configure_nix_daemon_service() {
|
||||
task "Setting up the nix-daemon LaunchDaemon"
|
||||
_sudo "to set up the nix-daemon as a LaunchDaemon" \
|
||||
/usr/bin/install -m -rw-r--r-- "/nix/var/nix/profiles/default$NIX_DAEMON_DEST" "$NIX_DAEMON_DEST"
|
||||
/usr/bin/install -m "u=rw,go=r" "/nix/var/nix/profiles/default$NIX_DAEMON_DEST" "$NIX_DAEMON_DEST"
|
||||
|
||||
_sudo "to load the LaunchDaemon plist for nix-daemon" \
|
||||
launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist
|
||||
|
|
Loading…
Reference in a new issue