nix-profile.fish: Add local state dir bin to $PATH

It seems reasonable to add both `$HOME/.profile/bin` and
`@localstatedir@/nix/profiles/default/bin` to `$PATH` for both user
local and daemon based nix execution.  Nix daemon execution mode does
not affect these path.
This commit is contained in:
Illia Bobyr 2025-01-13 19:17:09 -08:00
parent d2425c5d6a
commit c09b6da69f
No known key found for this signature in database
GPG Key ID: 4D72E6A090EB3E9E

View File

@ -62,6 +62,7 @@ if set --query MANPATH
set --export --prepend --path MANPATH "$NIX_LINK/share/man"
end
add_path "@localstatedir@/nix/profiles/default/bin"
add_path "$NIX_LINK/bin"
# Cleanup