Skip to content

Instantly share code, notes, and snippets.

@natekentt
Created April 19, 2021 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natekentt/8a0b775d321ed012c622e6468a279e70 to your computer and use it in GitHub Desktop.
Save natekentt/8a0b775d321ed012c622e6468a279e70 to your computer and use it in GitHub Desktop.
gchristenson: Here is my error for nix, I am on macOS
nathankent@Nathans-MBP ~ % sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2699 100 2699 0 0 1495 0 0:00:01 0:00:01 --:--:-- 4257
downloading Nix 2.3.10 binary tarball for x86_64-darwin from 'https://releases.nixos.org/nix/nix-2.3.10/nix-2.3.10-x86_64-darwin.tar.xz' to '/var/folders/6l/7gjcs8m10bx3n3tscrqnbg840000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.NJjOxhoy'...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26.6M 100 26.6M 0 0 1421k 0 0:00:19 0:00:19 --:--:-- 2138k
Note: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installation
Creating volume and mountpoint /nix.
------------------------------------------------------------------
| This installer will create a volume for the nix store and |
| configure it to mount at /nix. Follow these steps to uninstall. |
------------------------------------------------------------------
1. Remove the entry from fstab using 'sudo vifs'
2. Destroy the data volume using 'diskutil apfs deleteVolume'
3. Remove the 'nix' line from /etc/synthetic.conf or the file
Using existing 'Nix Store' volume
performing a single-user installation of Nix...
/var/folders/6l/7gjcs8m10bx3n3tscrqnbg840000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.NJjOxhoy/unpack/nix-2.3.10-x86_64-darwin/install: directory /nix exists, but is not writable by you. This could indicate that another user has already performed a single-user installation of Nix on this system. If you wish to enable multi-user support see https://nixos.org/nix/manual/#ssec-multi-user. If you wish to continue with a single-user install for nathankent please run 'chown -R nathankent /nix' as root.
nathankent@Nathans-MBP ~ %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment