From fc8c11be481ce0fa2b50af1f7bedb9b9a1f1ac1f Mon Sep 17 00:00:00 2001 From: Illia Bobyr Date: Mon, 13 Jan 2025 19:17:09 -0800 Subject: [PATCH] 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. --- scripts/nix-profile.fish.in | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/nix-profile.fish.in b/scripts/nix-profile.fish.in index 59b3c695e..e1c001dc0 100644 --- a/scripts/nix-profile.fish.in +++ b/scripts/nix-profile.fish.in @@ -69,6 +69,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