-
-
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
Issue with installer script touch: /etc/bashrc: No such file or directory
#7894
Comments
Issue seems a little more complex than just a missing file:
|
It sounds like you may have had nix-darwin (or maybe home-manager) installed at some point and linked the files to the copies that it would generate (which it links in to /etc/static, iirc). I don't think this is the normal way to do it, but my install is a little old by this point. I know my /etc/bashrc just has a statement at the top like Unclear whether you followed the full uninstall instructions https://nixos.org/manual/nix/stable/installation/installing-binary.html#macos, so I'd start by following those and try installing again. |
Ah. Sorry. I cheated and just read the 2nd comment. The diff issue in the original output is the same one reported in #7286. TL;DR: in Ventura, Apple's replaced GNU diff with their own home-grown version that now lacks some flags that the installer would use to show you a diff of the edit it's trying to make if it looks like there's something other than Nix in your The ~cheapest workarounds are probably to:
|
I got this too but just unlinking those files worked for me sudo unlink /etc/bashrc
sudo unlink /etc/zshrc |
Platform
Additional information
Am attempting to reinstall nix after having removed it including the APFS volume.
Using the command:
I encounter 2 issues.
Output
Output
The text was updated successfully, but these errors were encountered: