mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
installer: remove profile step
This commit is contained in:
parent
3cf11923eb
commit
6dd655466d
2 changed files with 0 additions and 26 deletions
|
@ -49,17 +49,6 @@ with lib;
|
|||
esac
|
||||
fi
|
||||
|
||||
if ! test -L /etc/profile && grep -q 'etc/profile.d/nix-daemon.sh' /etc/profile; then
|
||||
if test -t 1; then
|
||||
read -p "Would you like to remove nix-daemon.sh configuration in /etc/profile? [y/n] " i
|
||||
fi
|
||||
case "$i" in
|
||||
y|Y)
|
||||
sudo patch -d /etc -p1 < '${./profile.patch}'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if ! test -L /run; then
|
||||
if test -t 1; then
|
||||
read -p "Would you like to create /run? [y/n] " i
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
diff --git a/profile b/profile
|
||||
index 3748e3b..36ad2cd 100644
|
||||
--- a/profile
|
||||
+++ b/profile
|
||||
@@ -7,10 +7,3 @@
|
||||
if [ "${BASH-no}" != "no" ]; then
|
||||
[ -r /etc/bashrc ] && . /etc/bashrc
|
||||
fi
|
||||
-
|
||||
-# Nix
|
||||
-if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
|
||||
- . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
|
||||
-fi
|
||||
-# End Nix
|
||||
-
|
Loading…
Reference in a new issue