Use $HOME to source nix stuff
This commit is contained in:
parent
0be4443b0c
commit
97f7082085
@ -139,7 +139,7 @@ function _haskell_setup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function _nix_setup {
|
function _nix_setup {
|
||||||
if [ -e /home/imalison/.nix-profile/etc/profile.d/nix.sh ]; then
|
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
|
||||||
. /home/imalison/.nix-profile/etc/profile.d/nix.sh;
|
. $HOME/.nix-profile/etc/profile.d/nix.sh;
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user