Skip to content

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

Open
@suntropez

Description

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.

Metadata

Assignees

No one assigned

    Labels

    documentationidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.installer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions