nix-installer
nix-installer copied to clipboard
Cannot do nix-darwin install without rebooting first
Would you like to edit the default configuration.nix before starting? [y/n] y
Would you like to manage <darwin> with nix-channel? [y/n] y
error: opening '/Users/shyim/.nix-channels' for writing: Permission denied
by running sudo chown -R shyim /Users/shyim/.nix-channels I am one step further
but now something with /run fails
setting up /run via /etc/synthetic.conf...
warning: apfs.util failed to symlink /run
setting up /run...
ln: failed to create symbolic link '/run': Read-only file system
Thanks for reporting this! I'll take a look at it.
The /run issue was solved by rebooting the mac. But the nix-channel file has wrong permissions :)
That makes sense! Thanks!
The permissions issue is #287 I think
Just noting that this is still an issue in the latest version on macos even though https://github.com/DeterminateSystems/nix-installer/pull/304 has been merged!
Thanks! I'll take a look and see if I can improve the situation.
Happy to help debug from my end, if I can!