Skip to content
Snippets Groups Projects
Unverified Commit 92ca9352 authored by Graham Christensen's avatar Graham Christensen
Browse files

Clean up nix hints from the old insstaller

parent 61ea9e98
No related branches found
No related tags found
Loading
...@@ -19,6 +19,13 @@ cleanup() { ...@@ -19,6 +19,13 @@ cleanup() {
fi fi
done done
for file in ~/.bash_profile ~/.bash_login ~/.profile ~/.zshenv ~/.zprofile ~/.zshrc ~/.zlogin; do
cat "$file" | grep -v nix-profile > "$file.next"
mv "$file.next" "$file"
done
for i in $(seq 1 $(sysctl -n hw.ncpu)); do for i in $(seq 1 $(sysctl -n hw.ncpu)); do
sudo /usr/bin/dscl . -delete "/Users/nixbld$i" || true sudo /usr/bin/dscl . -delete "/Users/nixbld$i" || true
done done
...@@ -64,9 +71,6 @@ verify ...@@ -64,9 +71,6 @@ verify
set -eux set -eux
cat ~/.profile | grep -v nix-profile > ~/.profile-next
mv ~/.profile-next ~/.profile
cleanup cleanup
yes | ./install yes | ./install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment