-
-
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
Nix not working after Monterey update #6912
Comments
You don't have to reinstall after an update. The update is overwriting the shell hook, but you can just replace it. See #3616 for more. If you've deleted things already, though, you may have to follow the uninstall instructions before reinstalling it: https://nixos.org/manual/nix/stable/installation/installing-binary.html#macos |
I'm installing because one of the services we use said that it was not installed and for me to run the curl above.
|
If you follow the uninstall directions linked above, it should install cleanly after.
If this is some sort of public service, it might be worth reporting this up to them. |
after delete everything and uninstall follow the docs, but it can't install successful any more in Macos Monterey 12.5.1 .......... |
I uninstalled it and now it's working again. |
Describe the bug
My nix stopped working after the migration to Monterey. I've run
curl -L https://nixos.org/nix/install | sh
and followed the steps 1-3. and now I have this error:If you have a problem with a specific package or NixOS,
you probably want to file an issue at https://github.com/NixOS/nixpkgs/issues.
Steps To Reproduce
curl -L https://nixos.org/nix/install | sh
zshrc.backup-before-nix
andzshrc
sudo mv /etc/zshrc.backup-before-nix /etc/zshrc
Expected behavior
To install nix.
nix-env --version
outputAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: