Use $HOME to source nix stuff

This commit is contained in:
Ivan Malison 2018-06-11 14:15:41 -07:00
parent 0be4443b0c
commit 97f7082085
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -139,7 +139,7 @@ function _haskell_setup {
}
function _nix_setup {
if [ -e /home/imalison/.nix-profile/etc/profile.d/nix.sh ]; then
. /home/imalison/.nix-profile/etc/profile.d/nix.sh;
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
. $HOME/.nix-profile/etc/profile.d/nix.sh;
fi
}