darwin guests: use 19.03-darwin channel to hit a better cache
Eelco Dolstra committed
Apr 26, 2019 at 13:01 UTC
66608426ce163d9b3dc683d2748695791cffa230
1 file changed
+2
macs/guest/apply.sh
+2
@@ -65,9 +65,11 @@ echo "%admin ALL = NOPASSWD: ALL" | tee /etc/sudoers.d/passwordless
65
ls -la /private/var || true
66
ls -la /private/var/run || true
67
ln -s /private/var/run /run || true
68
+ nix-channel --add https://nixos.org/channels/nixos-19.03 nixpkgs
69
nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
70
nix-channel --update
71
72
+ sudo -i -H -u nixos -- nix-channel --add https://nixos.org/channels/nixos-19.03 nixpkgs
73
sudo -i -H -u nixos -- nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
74
sudo -i -H -u nixos -- nix-channel --update
75