diff --git a/dotfiles/lib/shellpath.sh b/dotfiles/lib/shellpath.sh index 4243636e..0fad8800 100644 --- a/dotfiles/lib/shellpath.sh +++ b/dotfiles/lib/shellpath.sh @@ -8,6 +8,7 @@ function _setup_path { _ruby_setup is_osx && _osx_path_setup || _linux_path_setup + _nix_setup _emacs_setup _haskell_setup _java_setup @@ -136,3 +137,9 @@ function _haskell_setup { # precedence. add_to_path "$HOME/.cabal/bin" --after --target "$HOME/.local/bin" } + +function _nix_setup { + if [ -e /home/imalison/.nix-profile/etc/profile.d/nix.sh ]; then + . /home/imalison/.nix-profile/etc/profile.d/nix.sh; + fi +}