]> gitweb.fluxo.info Git - rhatto/dotfiles/profile.git/commitdiff
Feat: NixOS support (2)
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 16 Aug 2020 01:12:52 +0000 (22:12 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 16 Aug 2020 01:12:52 +0000 (22:12 -0300)
profile.dot.link

index dd707b320d0276b10a2c18c7fcec5ebba8cc7f23..11ca7a0f18d85433e59fc53f8c99f56166bfe0a5 100644 (file)
@@ -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