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:
parent
f235d89c59
commit
8bf46112d8
1 changed files with 6 additions and 0 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue