Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nora Puchreiner
Nix
Commits
92ca9352
Unverified
Commit
92ca9352
authored
7 years ago
by
Graham Christensen
Browse files
Options
Downloads
Patches
Plain Diff
Clean up nix hints from the old insstaller
parent
61ea9e98
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/install-darwin.sh
+7
-3
7 additions, 3 deletions
tests/install-darwin.sh
with
7 additions
and
3 deletions
tests/install-darwin.sh
+
7
−
3
View file @
92ca9352
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment