You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
downloading Nix 2.16.1 binary tarball for aarch64-darwin from 'https://releases.nixos.org/nix/nix-2.16.1/nix-2.16.1-aarch64-darwin.tar.xz' to '/var/folders/5k/byjbqlxj4g5_zks93rd1j5300000gq/T/nix-binary-tarball-unpack.XXXXXXXXXX.4nHTxIEG'...
�[1;31mSwitching to the Multi-user Installer�[0m
�[32mWelcome to the Multi-User Nix Installation
�[0m
This installation tool will set up your computer with the Nix package
manager. This will happen in a few stages:
1. Make sure your computer doesn't already have Nix. If it does, I
will show you instructions on how to clean up your old install.
2. Show you what I am going to install and where. Then I will ask
if you are ready to continue.
3. Create the system users and groups that the Nix daemon uses to run
builds.
4. Perform the basic installation of the Nix files daemon.
5. Configure your shell to import special Nix Profile files, so you
can use Nix.
6. Start the Nix daemon.
�[32m�[4;32mWould you like to see a more detailed list of what I will do?
�[0mNo TTY, assuming you would say yes :)
I will:
- make sure your computer doesn't already have Nix files
(if it does, I will tell you how to clean them up.)
- create local users (see the list above for the users I'll make)
- create a local group (nixbld)
- install Nix in to /nix
- create a configuration file in /etc/nix
- set up the "default profile" by creating some Nix-related files in
/var/root
- back up /etc/bashrc to /etc/bashrc.backup-before-nix
- update /etc/bashrc to include some Nix configuration
- back up /etc/zshrc to /etc/zshrc.backup-before-nix
- update /etc/zshrc to include some Nix configuration
- create a Nix volume and a LaunchDaemon to mount it
- create a LaunchDaemon (at /Library/LaunchDaemons/org.nixos.nix-daemon.plist) for nix-daemon
�[32m�[4;32mReady to continue?
�[0mNo TTY, assuming you would say yes :)
�[34m---- let's talk about sudo -----------------------------------------------------
�[0mThis script is going to call sudo a lot. Normally, it would show you
exactly what commands it is running and why. However, the script is
run in a headless fashion, like this:
$ curl -L https://nixos.org/nix/install | sh
or maybe in a CI pipeline. Because of that, I'm going to skip the
verbose output in the interest of brevity.
If you would like to
see the output, try like this:
$ curl -L -o install-nix https://nixos.org/nix/install
$ sh ./install-nix
�[32m~~> Fixing any leftover Nix volume state
�[0mBefore I try to install, I'll check for any existing Nix volume config
and ask for your permission to remove it (so that the installer can
start fresh). I'll also ask for permission to fix any issues I spot.
�[34m---- Found existing Nix volume -------------------------------------------------
�[0m�[1m special�[0m: disk3s7
�[1m uuid�[0m: 91A994CB-A5C2-4291-9A13-1E87CB45AA3E
�[1mencrypted�[0m: no
�[31m---- warning! ------------------------------------------------------------------
�[0mFileVault is on, but your Nix Store volume isn't encrypted.
During install, I add 'nix' to /etc/synthetic.conf, which instructs
macOS to create an empty root directory for mounting the Nix volume.
�[32m�[4;32mCan I remove /etc/synthetic.conf?
�[0mNo TTY, assuming you would say yes :)
During install, I add '/nix' to /etc/fstab so that macOS knows what
mount options to use for the Nix volume.
�[32m�[4;32mCan I remove /etc/fstab?
�[0mNo TTY, assuming you would say yes :)
�[32m~~> Checking for artifacts of previous installs
�[0mBefore I try to install, I'll check for signs Nix already is or has
been installed on this system.
�[34m---- Nix config report ---------------------------------------------------------
�[0m�[1m Temp Dir�[0m: /var/folders/5k/byjbqlxj4g5_zks93rd1j5300000gq/T/tmp.mmc0QWFV
�[1m Nix Root�[0m: /nix
�[1m Build Users�[0m: 32
�[1m Build Group ID�[0m: 30000
�[1mBuild Group Name�[0m: nixbld
�[4;34mbuild users:
�[0m�[1m Username�[0m: UID
�[1m _nixbld1�[0m: 301
�[1m _nixbld2�[0m: 302
�[1m _nixbld3�[0m: 303
�[1m _nixbld4�[0m: 304
�[1m _nixbld5�[0m: 305
�[1m _nixbld6�[0m: 306
�[1m _nixbld7�[0m: 307
�[1m _nixbld8�[0m: 308
�[1m _nixbld9�[0m: 309
�[1m _nixbld10�[0m: 310
�[1m _nixbld11�[0m: 311
�[1m _nixbld12�[0m: 312
�[1m _nixbld13�[0m: 313
�[1m _nixbld14�[0m: 314
�[1m _nixbld15�[0m: 315
�[1m _nixbld16�[0m: 316
�[1m _nixbld17�[0m: 317
�[1m _nixbld18�[0m: 318
�[1m _nixbld19�[0m: 319
�[1m _nixbld20�[0m: 320
�[1m _nixbld21�[0m: 321
�[1m _nixbld22�[0m: 322
�[1m _nixbld23�[0m: 323
�[1m _nixbld24�[0m: 324
�[1m _nixbld25�[0m: 325
�[1m _nixbld26�[0m: 326
�[1m _nixbld27�[0m: 327
�[1m _nixbld28�[0m: 328
�[1m _nixbld29�[0m: 329
�[1m _nixbld30�[0m: 330
�[1m _nixbld31�[0m: 331
�[1m _nixbld32�[0m: 332
�[32m�[4;32mReady to continue?
�[0mNo TTY, assuming you would say yes :)
�[34m---- Preparing a Nix volume ----------------------------------------------------
�[0m Nix traditionally stores its data in the root directory /nix, but
macOS now (starting in 10.15 Catalina) has a read-only root directory.
To support Nix, I will create a volume and configure macOS to mount it
at /nix.
Volume Nix Store on disk3s7 force-unmounted
Volume Nix Store on Nix Store mounted
�[34m---- oh no! --------------------------------------------------------------------
�[0m�[31mOh no, something went wrong. If you can take all the output and open
an issue, we'd love to fix the problem so nobody else has this issue.
:(
�[0m
�[31mWe'd love to help if you need it.
You can open an issue at
https://github.com/NixOS/nix/issues/new?labels=installer&template=installer.md
Or get in touch with the community: https://nixos.org/community
�[0m
It looks like you're reinstalling, since you already have a Nix Store volume. The installer is not as verbose when you run it headlessly, so it's not clear exactly what step it fell over on here.
Platform
Additional information
Output
Output
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: