File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,6 @@ eval "$$(/opt/homebrew/bin/brew shellenv)"
10
10
endef
11
11
export source_brew
12
12
13
- define source_nix
14
- # Nix
15
- if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
16
- . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
17
- fi
18
- # End Nix
19
- endef
20
- export source_nix
21
-
22
13
is_darwin :
23
14
ifneq ($(uname ) , Darwin)
24
15
@echo Darwin command only; exit 1
@@ -67,8 +58,7 @@ darwin/brew-install: is_darwin
67
58
68
59
darwin/nix-install : is_darwin
69
60
@echo installing nix...
70
- @sudo curl -L https://nixos.org/nix/install | sh -s -- --daemon --yes
71
- @echo " $$ source_nix" >> ~ /.zprofile
61
+ @curl --proto ' =https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm
72
62
73
63
darwin/nix-darwin-install : is_darwin
74
64
@echo installing nix-darwin...
You can’t perform that action at this time.
0 commit comments