-
Notifications
You must be signed in to change notification settings - Fork 64
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
error: directory '"/nix/store/46p1z0w9ad605kky62dr53z4h24k2a5r-nix-2.25.3/bin/nix"' does not appear to be part of a Nix profile #1362
Comments
Same here, tried multiple uninstall, reboot, reinstalls etc and looking for any leftover files/dirs to cleanup. This used to work no problem so not sure what has went wrong but admittedly I do not know nix well. |
@nalzok I think I've managed to fix this by doing the following:
Pretty certain this is just a lack of nix experience/understanding but it does seem odd a fresh install doesn't allow this to work just out the box, I'm sure it used to when I last tinkered with nix a year or so ago. |
Thanks @rosstimson, I can confirm that it works! For some reason I'm still getting the 24.11 version, maybe because I'm using nix-darwin?
Anyway, I don't think we are supposed to do this manually. Installing a package on the command line with |
I've run into this issue too but I can't use the approach @rosstimson suggested because I'm using |
Hi there! I have some trouble installing/updating Nix on a fresh installation of macOS 15.2 (24C101). I executed the installation command
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
, opened a new shell session, and ransudo -i nix upgrade-nix
to update Nix, only to got the following error message:I understand that I'm already using the latest Nix version (since I just installed Nix), but the error message is concerning!
The text was updated successfully, but these errors were encountered: