forked from colonelpanic/dotfiles
Set up nix on non NixOS systems
This commit is contained in:
parent
bb9f3227a0
commit
0a2f736476
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user