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.
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
Additional information
Going from single-user to multi-user install.
Output
N/A
Priorities
Add :+1: to issues you find important.