Skip to content
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

Pre-installed Nix removal instructions miss user's fish #11038

Open
1 of 3 tasks
suntropez opened this issue Jul 4, 2024 · 0 comments
Open
1 of 3 tasks

Pre-installed Nix removal instructions miss user's fish #11038

suntropez opened this issue Jul 4, 2024 · 0 comments

Comments

@suntropez
Copy link

The installer makes a suggestion of removing pre-existing Nix things.

https://github.com/NixOS/nix/blob/master/scripts/install-multi-user.sh#L139

In my case, I had $HOME/.config/fish/conf.d/nix.fish from the single user install. The new installation added /etc/fish/conf.d/nix.fish. Since Fish let's the former override the latter, /etc/fish/conf.d/nix.fish was not being sourced. Maybe, and this is just a suggestion, the installer could remind or suggest removal of shell specific files. It took me a bit of investigation to realize what was going on so this might happen to more people, hence the suggestion here.

To be clear, although $HOME/.config/fish/conf.d/nix.fish existed, the content was meant for the single user install which had been removed.

Platform

  • Linux:
  • macOS
  • WSL

Additional information

Going from single-user to multi-user install.

Output

N/A

Priorities

Add 👍 to issues you find important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant