From 0436639b199f49ae22b819f1eb64e7c36d49744f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 15 Aug 2020 22:12:52 -0300 Subject: Feat: NixOS support (2) --- profile.dot.link | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profile.dot.link b/profile.dot.link index dd707b3..11ca7a0 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -90,8 +90,8 @@ if [ -e "$HOME/apps/go" ]; then fi # Add local NixOS into PATH -if [ -e "$HOME/.nix-profile/bin" ]; then - PATH=$PATH:$HOME/.nix-profile/bin +if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then + . $HOME/.nix-profile/etc/profile.d/nix.sh fi # Export PATH -- cgit v1.2.3