macs: update to Nix 2.3.3 out of the box; update nixos channel to 19.09
Graham Christensen committed
Mar 31, 2020 at 23:02 UTC
80db2b4bfab898bb9cc87710ed33ad0b9ee6fb22
1 file changed
+3
-3
macs/guest/apply.sh
+3
-3
@@ -49,7 +49,7 @@ echo "%admin ALL = NOPASSWD: ALL" | tee /etc/sudoers.d/passwordless
49
export HOME=~root
50
export ALLOW_PREEXISTING_INSTALLATION=1
51
env
52
- curl https://nixos.org/releases/nix/nix-2.2.2/install > ~nixos/install-nix
52
+ curl https://nixos.org/releases/nix/nix-2.3.3/install > ~nixos/install-nix
53
chmod +rwx ~nixos/install-nix
54
cat /dev/null | sudo -i -H -u nixos -- sh ~nixos/install-nix --daemon
55
)
@@ -71,11 +71,11 @@ echo "%admin ALL = NOPASSWD: ALL" | tee /etc/sudoers.d/passwordless
71
# If me, Graham, the author of the multi-user darwin installer can't
72
# even figure this out, how can I possibly expect anybody else to know.
73
nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
74
- nix-channel --add https://nixos.org/channels/nixpkgs-19.03-darwin nixpkgs
74
+ nix-channel --add https://nixos.org/channels/nixpkgs-19.09-darwin nixpkgs
75
nix-channel --update
76
77
sudo -i -H -u nixos -- nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
78
- sudo -i -H -u nixos -- nix-channel --add https://nixos.org/channels/nixpkgs-19.03-darwin nixpkgs
78
+ sudo -i -H -u nixos -- nix-channel --add https://nixos.org/channels/nixpkgs-19.09-darwin nixpkgs
79
sudo -i -H -u nixos -- nix-channel --update
80
81
export NIX_PATH=$NIX_PATH:darwin=https://github.com/LnL7/nix-darwin/archive/master.tar.gz