File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 2424
2525# Set up the per-user profile.
2626
27- set NIX_LINK $HOME/.nix-profile
27+ set --local NIX_LINK $HOME/.nix-profile
2828
2929# Set up environment.
3030# This part should be kept in sync with nixpkgs:nixos/modules/programs/environment.nix
6464
6565add_path "@localstatedir@/nix/profiles/default/bin"
6666add_path "$NIX_LINK/bin"
67- set --erase NIX_LINK
6867
6968# Cleanup
7069
Original file line number Diff line number Diff line change 2424
2525# Set up the per-user profile.
2626
27- set NIX_LINK $HOME/.nix-profile
27+ set --local NIX_LINK $HOME/.nix-profile
2828
2929# Set up environment.
3030# This part should be kept in sync with nixpkgs:nixos/modules/programs/environment.nix
@@ -63,7 +63,6 @@ if set --query MANPATH
6363end
6464
6565add_path "$NIX_LINK/bin"
66- set --erase NIX_LINK
6766
6867# Cleanup
6968
You can’t perform that action at this time.
0 commit comments