1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 18:57:08 +00:00

bootstrap: add warning for /etc/profile

This commit is contained in:
Daiderd Jordan 2018-01-03 23:03:36 +01:00
parent f235d89c59
commit 8bf46112d8
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -211,6 +211,12 @@ install(){
fi
fi
if grep -q 'etc/profile.d/nix-daemon.sh' /etc/profile; then
echo -e ""$RED"WARNING: Detected nix-daemon.sh in /etc/profile."
echo "This will override environment variables configured by nix-darwin,"
echo "you might want to remove that."
fi
# Finish
echo -e ""$GREEN"You're all done!"$ESC""
echo -e "Take a look at "$YELLOW"~/.nixpkgs/darwin-configuration.nix"$ESC" to get started."