nix/macos.zprofile

13 lines
329 B
Plaintext

# let nix setup the path
if [ -d $HOME/.nix-profile/etc/profile.d ]; then
for i in $HOME/.nix-profile/etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
fi
if [[ -f '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]]; then
source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi