diff --git a/nix/configurations/vanadium/home/programs.nix b/nix/configurations/vanadium/home/programs.nix index 82f35155..e2590ad4 100644 --- a/nix/configurations/vanadium/home/programs.nix +++ b/nix/configurations/vanadium/home/programs.nix @@ -48,8 +48,10 @@ in { if test -d ~/.environments for file in ~/.environments/* if not string match -q --regex -- '-link$' $file - # Append so if invoked from a nix shell, doesn't mess with the shell's specific paths - fish_add_path --append $file/bin + # - global: make sure the path added is scoped to the instance of the shell + # https://github.com/fish-shell/fish-shell/issues/8604#issuecomment-2854550904 + # - append: make my own environment come after a nix shell even if invoked by one + fish_add_path --global --append --move $file/bin end end end