Open diekhans opened 1 year ago
As the installer explained, it isn't compatible with a symlinked store. If you want to force it to work for some reason, you'll need to download the install scripts and modify them.
What diff do you have? GNU is what ships with macOS AFAIK. No strong reason not to pin that path down, so I've opened #7288 to do so.
% /usr/bin/diff --version
Apple diff (based on FreeBSD diff)
It doesn't have --unchanged-group-format
It would be most useful if it was explicitly mentioned that the normal way one does synthetic.conf doesn't work in https://nixos.org/manual/nix/stable/installation/installing-binary.html#macos-installation.
It would be nice if apple support firmlinks by users.
I am sure it has been said before, but it is sad that nix installs in / instead of following the UNIX convention of /opt/. At least you don't splatter all over /usr/local ;-)
thanks!
What macos is this? Ventura? It's possible they swapped it out there and you are just the first report because of the symlink/synthetic.conf
Yes, Ventura and correct, Big Sur reports:
% /usr/bin/diff --version diff (GNU diffutils) 2.8.1 Copyright (C) 2002 Free Software Foundation, In
Hmm. I guess we'll actually need a different fix, though I'm not quite sure what. I don't have a Ventura to poke at myself yet.
If you give me something to test, I will try it out for you. The scribbling on / was enough to get me to hold off on investing time in Nix right now, so it is easy for me to reproduce without disrupting anything.
Thanks. I don't expect I'll have time to pick at how to adapt the formats for a few days myself. I asked on Matrix in case someone there will be up for taking a look.
Running into the exact same issue after upgrading to Ventura. Same diff issue as well. The diff issue can probably be fixed with brew install diffutils
; just checked and the diff installed that way does understand that option.
Any progress on this.
I am having enough issues with nix - that I don't want to have macports or HomeBrew to get a working version.
Although I note that if I just accept the diff output the script seemed to have worked.
Not that I'm aware of
MacOS Ventura, M1 I want to have nix installed under
Steps To Reproduce
Create an /etc/synthetic.conf with /nix
and reboot then
Install then tries to edit out the nix line from synthetic.conf. I don't want it to do this. I don't want a new disk volume, I just want nix in System/Volumes/Data/nix
As part of insisting on edit the file, it calls diff with invalid arguments for MacOs