-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mix mac install assumed gnu diff and other /etc/synthetic.conf issues #7286
Comments
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. |
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 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/. 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 |
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 ships with it's own version of diff. Try to output a similar diff with Apple diff as with GNU diff, instead of failing Helps NixOS#7286
macOS Ventura ships with it's own version of diff. Try to output a similar diff with Apple diff as with GNU diff, instead of failing Helps NixOS#7286
macOS Ventura ships with it's own version of diff. Try to output a similar diff with Apple diff as with GNU diff, instead of failing Helps NixOS#7286
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
The text was updated successfully, but these errors were encountered: