From c09b6da69fe709071af08726e3b90cc328bd017e 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 05d9a187de3..0e27cdb7bb2 100644 --- a/scripts/nix-profile.fish.in +++ b/scripts/nix-profile.fish.in @@ -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