-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Uninstall Nix on macOS: Can't Delete Nix Store Partition #6787
Comments
Not sure what instructions you're following, but the official instructions for uninstalling Nix on macOS (https://nixos.org/manual/nix/stable/installation/installing-binary.html#macos) don't list rm -rf /nix/ as a step. |
Uninstall instructions for macOS have somehow disappeared if there ever were any. The suggested link is also "half broken" - there is no |
yeah I revers-engineered it, but thanks for sending the link; whoever will find this thread will find it useful :) |
@fricklerhandwerk it sounds like the redirects for these old links aren't working? |
The redirects work, but here the semantics changed because the uninstall part is now in its own section. For https://nixos.org/manual/nix/stable/installation/installing-binary.html#macos-installation indeed a redirect is missing because apparently the anchor changed from |
So, the old links can't be redirected because of the resection? Edit: I'm not sure I'm reading you right and I'm not familiar with the redirect system's capabilities to disambiguate. To clarify, can it redirect links from https://nixos.org/manual/nix/stable/installation/installing-binary.html#macos to https://nixos.org/manual/nix/stable/installation/uninstall.html#macos? (I'm not worried about mapping them to https://nixos.org/manual/nix/stable/installation/installing-binary.html#macos-installation.) |
I thought so, but actually
Yes, that is correct and can be done. Check the sample in the PR you linked previously. |
This worked for me: |
I've been following the official instructions to uninstall Nix on a Mac, but the final step—removing the Nix Store partition—throws an error.
Tried
rm -rf /nix/
but I get:Also tried deleting the partition using Disk Utility but I get
Failed to unmount “Nix Store” because it is currently in use.
. Apparently process 0 (Kernel) is using it, so macOS won't let me unmount and delete the partition.What can I do?
The text was updated successfully, but these errors were encountered: