After installing vim package via
vim_configurable.customize, I noticed that another vim was higher in my path. Output of
which -a vim:
/nix/var/nix/profiles/default/bin/vim /run/.../vim <- desired custom vim
I don’t know how the
profiles/default vim got there, but I would like to remove it so that my custom vim is first in the path.
I tried removing the vim from my
configuration.nix but the
profiles/default version remains, so it appears unrelated. I have rebuilt, switched and rebooted.
Any tips on how to remove this vim or at least force the installed package higher in the PATH hierarchy?