Open
Description
Platform
- Linux:
- [x ] macOS 15.1.1 (24B91)
- WSL
Additional information
Installed via and said yes to everything
sh <(curl -L https://nixos.org/nix/install)
Output
I am not really sure what more information could be useful here. Happy to collect whatever. Let me know.
Output
calebkierum@Coding % sh <(curl -L https://nixos.org/nix/install)
% 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 4267 100 4267 0 0 10211 0 --:--:-- --:--:-- --:--:-- 10211
downloading Nix 2.27.0 binary tarball for aarch64-darwin from 'https://releases.nixos.org/nix/nix-2.27.0/nix-2.27.0-aarch64-darwin.tar.xz' to '/var/folders/hv/ym4wh8mj0pj_19411_w1n0s00000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.5vxSp3kOLd'...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26.3M 100 26.3M 0 0 14.3M 0 0:00:01 0:00:01 --:--:-- 14.3M
Switching to the Multi-user Installer
Welcome to the Multi-User Nix Installation
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 (uids [351..382]) and groups (gid 350)
that the Nix daemon uses to run builds. To create system users
in a different range, exit and run this tool again with
NIX_FIRST_BUILD_UID set.
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.
Would you like to see a more detailed list of what I will do?
[y/n] n
---- let's talk about sudo -----------------------------------------------------
This script is going to call sudo a lot. Every time I do, it'll
output exactly what it'll do, and why.
Just like this:
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo echo
to demonstrate how our sudo prompts look
This might look scary, but everything can be undone by running just a
few commands. I used to ask you to confirm each time sudo ran, but it
was too many times. Instead, I'll just ask you this one time:
Can I use sudo?
[y/n] y
Yay! Thanks! Let's get going!
~~> Fixing any leftover Nix volume state
Before 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.
~~> Checking for artifacts of previous installs
Before I try to install, I'll check for signs Nix already is or has
been installed on this system.
---- Nix config report ---------------------------------------------------------
Temp Dir: /var/folders/hv/ym4wh8mj0pj_19411_w1n0s00000gn/T/tmp.KBlKUdAhZp
Nix Root: /nix
Build Users: 32
Build Group ID: 350
Build Group Name: nixbld
build users:
Username: UID
_nixbld1: 351
_nixbld2: 352
_nixbld3: 353
_nixbld4: 354
_nixbld5: 355
_nixbld6: 356
_nixbld7: 357
_nixbld8: 358
_nixbld9: 359
_nixbld10: 360
_nixbld11: 361
_nixbld12: 362
_nixbld13: 363
_nixbld14: 364
_nixbld15: 365
_nixbld16: 366
_nixbld17: 367
_nixbld18: 368
_nixbld19: 369
_nixbld20: 370
_nixbld21: 371
_nixbld22: 372
_nixbld23: 373
_nixbld24: 374
_nixbld25: 375
_nixbld26: 376
_nixbld27: 377
_nixbld28: 378
_nixbld29: 379
_nixbld30: 380
_nixbld31: 381
_nixbld32: 382
Ready to continue?
[y/n] y
---- Preparing a Nix volume ----------------------------------------------------
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.
~~> Configuring /etc/synthetic.conf to make a mount-point at /nix
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/ex -u NONE -n /etc/synthetic.conf
to add Nix to /etc/synthetic.conf
Password:
~~> Creating a Nix volume
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/diskutil apfs addVolume disk3 APFS Nix Store -nomount
to create a new APFS volume 'Nix Store' on disk3
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/diskutil unmount force disk3s7
to ensure the Nix volume is not mounted
disk3s7 was already unmounted
~~> Configuring /etc/fstab to specify volume mount options
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/vifs
to add nix to fstab
~~> Configuring LaunchDaemon to mount 'Nix Store'
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/ex -u NONE -n /Library/LaunchDaemons/org.nixos.darwin-store.plist
to install the Nix volume mounter
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo launchctl bootstrap system /Library/LaunchDaemons/org.nixos.darwin-store.plist
to launch the Nix volume mounter
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo launchctl kickstart -k system/org.nixos.darwin-store
to launch the Nix volume mounter
~~> Setting up the build group nixbld
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o create -r Nix build group for nix-daemon -i 350 nixbld
Create the Nix build group, nixbld
Created: Yes
~~> Setting up the build user _nixbld1
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld1 UniqueID 351
Creating the Nix build user (#1), _nixbld1
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 1
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld1 nixbld
Add _nixbld1 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld1 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld2
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld2 UniqueID 352
Creating the Nix build user (#2), _nixbld2
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 2
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld2 nixbld
Add _nixbld2 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld2 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld3
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld3 UniqueID 353
Creating the Nix build user (#3), _nixbld3
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 3
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld3 nixbld
Add _nixbld3 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld3 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld4
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld4 UniqueID 354
Creating the Nix build user (#4), _nixbld4
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 4
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld4 nixbld
Add _nixbld4 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld4 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld5
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld5 UniqueID 355
Creating the Nix build user (#5), _nixbld5
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 5
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld5 nixbld
Add _nixbld5 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld5 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld6
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld6 UniqueID 356
Creating the Nix build user (#6), _nixbld6
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 6
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld6 nixbld
Add _nixbld6 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld6 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld7
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld7 UniqueID 357
Creating the Nix build user (#7), _nixbld7
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 7
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld7 nixbld
Add _nixbld7 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld7 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld8
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld8 UniqueID 358
Creating the Nix build user (#8), _nixbld8
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 8
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld8 nixbld
Add _nixbld8 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld8 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld9
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld9 UniqueID 359
Creating the Nix build user (#9), _nixbld9
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 9
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld9 nixbld
Add _nixbld9 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld9 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld10
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld10 UniqueID 360
Creating the Nix build user (#10), _nixbld10
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 10
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld10 nixbld
Add _nixbld10 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld10 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld11
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld11 UniqueID 361
Creating the Nix build user (#11), _nixbld11
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 11
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld11 nixbld
Add _nixbld11 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld11 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld12
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld12 UniqueID 362
Creating the Nix build user (#12), _nixbld12
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 12
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld12 nixbld
Add _nixbld12 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld12 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld13
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld13 UniqueID 363
Creating the Nix build user (#13), _nixbld13
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 13
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld13 nixbld
Add _nixbld13 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld13 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld14
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld14 UniqueID 364
Creating the Nix build user (#14), _nixbld14
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 14
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld14 nixbld
Add _nixbld14 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld14 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld15
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld15 UniqueID 365
Creating the Nix build user (#15), _nixbld15
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 15
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld15 nixbld
Add _nixbld15 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld15 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld16
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld16 UniqueID 366
Creating the Nix build user (#16), _nixbld16
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 16
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld16 nixbld
Add _nixbld16 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld16 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld17
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld17 UniqueID 367
Creating the Nix build user (#17), _nixbld17
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 17
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld17 nixbld
Add _nixbld17 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld17 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld18
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld18 UniqueID 368
Creating the Nix build user (#18), _nixbld18
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 18
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld18 nixbld
Add _nixbld18 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld18 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld19
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld19 UniqueID 369
Creating the Nix build user (#19), _nixbld19
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 19
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld19 nixbld
Add _nixbld19 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld19 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld20
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld20 UniqueID 370
Creating the Nix build user (#20), _nixbld20
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 20
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld20 nixbld
Add _nixbld20 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld20 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld21
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld21 UniqueID 371
Creating the Nix build user (#21), _nixbld21
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 21
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld21 nixbld
Add _nixbld21 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld21 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld22
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld22 UniqueID 372
Creating the Nix build user (#22), _nixbld22
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 22
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld22 nixbld
Add _nixbld22 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld22 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld23
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld23 UniqueID 373
Creating the Nix build user (#23), _nixbld23
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 23
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld23 nixbld
Add _nixbld23 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld23 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld24
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld24 UniqueID 374
Creating the Nix build user (#24), _nixbld24
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 24
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld24 nixbld
Add _nixbld24 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld24 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld25
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld25 UniqueID 375
Creating the Nix build user (#25), _nixbld25
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 25
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld25 nixbld
Add _nixbld25 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld25 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld26
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld26 UniqueID 376
Creating the Nix build user (#26), _nixbld26
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 26
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld26 nixbld
Add _nixbld26 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld26 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld27
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld27 UniqueID 377
Creating the Nix build user (#27), _nixbld27
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 27
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld27 nixbld
Add _nixbld27 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld27 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld28
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld28 UniqueID 378
Creating the Nix build user (#28), _nixbld28
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 28
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld28 nixbld
Add _nixbld28 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld28 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld29
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld29 UniqueID 379
Creating the Nix build user (#29), _nixbld29
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 29
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld29 nixbld
Add _nixbld29 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld29 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld30
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld30 UniqueID 380
Creating the Nix build user (#30), _nixbld30
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 30
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld30 nixbld
Add _nixbld30 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld30 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld31
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld31 UniqueID 381
Creating the Nix build user (#31), _nixbld31
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 31
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld31 nixbld
Add _nixbld31 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld31 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the build user _nixbld32
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/_nixbld32 UniqueID 382
Creating the Nix build user (#32), _nixbld32
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 32
Logins Disabled: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/dseditgroup -o edit -t user -a _nixbld32 nixbld
Add _nixbld32 to the nixbld group
Member of nixbld: Yes
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . -create /Users/_nixbld32 PrimaryGroupID 350
to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)
PrimaryGroupID: 350
~~> Setting up the basic directory structure
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/chown -R root:nixbld /nix
to take root ownership of existing Nix store files
chown: /nix/.Trashes: Operation not permitted
chown: /nix/.Trashes: Operation not permitted
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -dv -m 0755 /nix /nix/var /nix/var/log /nix/var/log/nix /nix/var/log/nix/drvs /nix/var/nix /nix/var/nix/db /nix/var/nix/gcroots /nix/var/nix/profiles /nix/var/nix/temproots /nix/var/nix/userpool /nix/var/nix/daemon-socket /nix/var/nix/gcroots/per-user /nix/var/nix/profiles/per-user
to make the basic directory structure of Nix (part 1)
install: mkdir /nix/var
install: mkdir /nix/var/log
install: mkdir /nix/var/log/nix
install: mkdir /nix/var/log/nix/drvs
install: mkdir /nix/var/nix
install: mkdir /nix/var/nix/db
install: mkdir /nix/var/nix/gcroots
install: mkdir /nix/var/nix/profiles
install: mkdir /nix/var/nix/temproots
install: mkdir /nix/var/nix/userpool
install: mkdir /nix/var/nix/daemon-socket
install: mkdir /nix/var/nix/gcroots/per-user
install: mkdir /nix/var/nix/profiles/per-user
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -dv -g nixbld -m 1775 /nix/store
to make the basic directory structure of Nix (part 2)
install: mkdir /nix/store
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -dv -m 0555 /etc/nix
to place the default nix daemon configuration (part 1)
install: mkdir /etc/nix
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -m 0644 /var/folders/hv/ym4wh8mj0pj_19411_w1n0s00000gn/T/tmp.KBlKUdAhZp/.nix-channels /var/root/.nix-channels
to set up the default system channel (part 1)
~~> Installing Nix
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo cp -RPp ./store/0mjkx2zcq2wzd1wqx2d6xfb2mcvhg074-libcxx-16.0.6-dev ./store/0n0hifspzqzccqczwq756l2ib2lwhvqp-publicsuffix-list-0-unstable-2024-10-25 ./store/0sa8nrx4aki56q6prn2wkz1gfzh5r01i-aws-crt-cpp-0.26.12 ./store/0vys7318crrjfgh2y3g6b9hj59yjsby3-krb5-1.21.3-lib ./store/0xsji5f16mz9hjglwsz3zgb7r9graw6x-libpsl-0.21.5 ./store/0y2a624xhi55hn5n7dwqqvyh9x9ffxci-aws-c-event-stream-0.4.3 ./store/10r87kpkn4zrj0d1qhq8nfr8g2gf0imp-zlib-1.3.1 ./store/16jccnc0ba3af72a55jhd0whlvmc4jr3-libarchive-3.7.7-dev ./store/1a4j0c5xn6xl53z77sifkncg3fing1qj-openssl-3.3.2 ./store/26f50gxdmqjyq2jk0qy0fa30ajvxzh0k-aws-c-common-0.9.27 ./store/2azkkgddd8vm6r4yyd9h23z0wx19zhhr-nix-flake-2.27.0 ./store/2lb62bypbzny2jckmm2djgdn8h7w1h10-boehm-gc-8.2.8-dev ./store/3a7j0047dvr6qfbz4hdwz1b37wcw2xiv-libssh2-1.11.1 ./store/3w1yf8cl6djijxjx7qz79xlfc7j967fr-libresolv-83 ./store/45sfwc7wanwkbsm4h1ml4z7hkk53qzcv-boost-1.81.0 ./store/4ha3ia41d25mby14hxf9i2q9ycnwz521-nix-store-2.27.0 ./store/4n9wa8kfphzqvszzlrc8l82zpbb8vr1r-aws-c-cal-0.6.15 ./store/50l0qdmj2b95hw29xvf3rijisp7kg4jw-nix-expr-2.27.0 ./store/55b5lii1n43hvf9lhz7b3xxc9gvbg3zh-aws-checksums-0.1.18 ./store/7dkrmf9gqhwl6cz766s26j3k4a6z0n00-bash-5.2p37 ./store/8f7m2f7n7dwvmqx9b0vmkh9cdxl607n5-libunistring-1.2 ./store/8qlkfgpr2j74mhq54nydiqw75naldws6-nlohmann_json-3.11.3 ./store/8y38m02qwxgnsldqc5l5a0lqwjj36kmk-boost-1.81.0-dev ./store/a3vidhbwlm6gq2sd0lrrqcbbpijmki1l-editline-1.17.1 ./store/aiz8a3lcfjiw43lxmqbmij3gmsw2z2z7-libgit2-1.8.4-lib ./store/ak2v494v05jc7fxpc5akkj2bq9jcysjj-aws-c-mqtt-0.10.5 ./store/cdlkcn5g7si1a8s58nj4bpdbjm6bncf1-aws-c-compression-0.2.19 ./store/d3f1233sl7yip2wpkg5vqfgdvnmdb4s0-libxml2-2.13.4 ./store/dka6i6yj8sgws93wc6m0lmqzhk21kq87-libiconv-107 ./store/dlmfvqs0p02sp7cr4mrlvg3p810n6gpi-zstd-1.5.6 ./store/dnaabn46c0zmlbbwqkc7byrkn9yaw7dk-gettext-0.21.1 ./store/fi6iv7bz78i54m4iyq01qhj7zrq5v89a-aws-sdk-cpp-1.11.336 ./store/fm0y10g8wqgr99vqd1qiimbc774mzd3i-pcre2-10.44 ./store/g0zc0632wp5cj4m95jw9n8kffv3ki1gj-nix-fetchers-2.27.0 ./store/hdyx5jw59pcjpm7nym48n2mcq9n4wn86-libidn2-2.3.7 ./store/j39kv1qva1ndbbfc6b7rqipz5fs9pnvc-curl-8.11.0 ./store/jpj7i429d6v44ca9k1xpgyfq3kq3ng8z-nss-cacert-3.107 ./store/m6pp92l31xzgnkzm84bcf71xfj8m56ap-aws-c-s3-0.6.0 ./store/md8l82d1ggi4136ja9qdpg855z6wavip-libcxx-16.0.6 ./store/n000lcvwlbha46xy4n6vz3vm3hg7ywcg-nix-store-2.27.0-dev ./store/nv1z35sa864z04yfs570hnn9iwx5r3q6-aws-c-sdkutils-0.1.16 ./store/pdc9kk31s34akw1k229hfw73p79fkvkp-nghttp2-1.64.0-lib ./store/pnrzbldbr3hv4xx7wxjbwxc4gfwkxj63-nix-fetchers-2.27.0-dev ./store/pynvhlbnwv4z8x9n05a41lrpjhsz6cbw-boehm-gc-8.2.8 ./store/q21pck0ph1aqa7bk1fzalhhk141z30dh-libsodium-1.0.20 ./store/r7fvblydd9smajp3asaqhm6jvqc38qmb-brotli-1.1.0-lib ./store/rziik1yg0rj2pdf2b7dsyakpfcr279wg-nix-expr-2.27.0-dev ./store/s3bq5z2jc9p0qbng2fbp0wn95z7y2l99-libarchive-3.7.7 ./store/sp16nb9iy4fg5vzjx01lw642knychh1j-bzip2-1.0.8 ./store/vimbyf55ffvkmqgqrwmhvs9kqv379kqw-aws-c-http-0.8.2 ./store/w3b8kbif1x6nhr6shpmj2zx3ppmdj26j-sqlite-3.46.1 ./store/w8qh8p5c27ha5izr3k4gymm8rsps58rr-aws-c-io-0.14.18 ./store/wb3pcj722fdy669g5hdnp49yz9q4fcjv-aws-c-auth-0.7.26 ./store/x9yp088bzjx5f00v3bg29y62pahr721s-xz-5.6.3 ./store/xbh7bpk5x7kx98vjmbv597r98bfbx3ia-toml11-3.7.1 ./store/xjnnl5j5g6ll6fm5aqi5n5xa3nfbaczp-nix-util-2.27.0 ./store/xrsqvmzmj2nnd63h94d3jpd8hgr5cl9v-lowdown-1.2.0-lib ./store/xwl8d4j7jc2lj2dz9987nfp80l9z9yr5-nix-2.27.0 ./store/y3rwm0hfsxgipx9z59glkv2yf2d9xdxs-libarchive-3.7.7-lib ./store/yaqk18514r08j79sbvp2whm9fp94bk6v-nix-cmd-2.27.0 ./store/z0xpp839hia837g28ixc1r8yxzn0v7hc-nix-main-2.27.0 ./store/z554bskxm328w8qf373n2jar97p46q1p-nix-util-2.27.0-dev ./store/zc0avja428rnlxgivl00n668h0q075s3-Security-11.0 /nix/store/
to copy the basic Nix files to the new store at /nix/store
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo chmod -R ugo-w /nix/store/
to make the new store non-writable at /nix/store
Alright! We have our first nix at /nix/store/xwl8d4j7jc2lj2dz9987nfp80l9z9yr5-nix-2.27.0
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/var/root /nix/store/xwl8d4j7jc2lj2dz9987nfp80l9z9yr5-nix-2.27.0/bin/nix-store --load-db
to load data for the first time in to the Nix Database
Just finished getting the nix database ready.
~~> Setting up shell profiles: /etc/bashrc /etc/profile.d/nix.sh /etc/zshrc /etc/bash.bashrc /etc/zsh/zshrc
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo cp /etc/bashrc /etc/bashrc.backup-before-nix
to back up your current /etc/bashrc to /etc/bashrc.backup-before-nix
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo tee -a /etc/bashrc
extend your /etc/bashrc with nix-daemon settings
# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo cp /etc/zshrc /etc/zshrc.backup-before-nix
to back up your current /etc/zshrc to /etc/zshrc.backup-before-nix
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo tee -a /etc/zshrc
extend your /etc/zshrc with nix-daemon settings
# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo touch /etc/bash.bashrc
to create a stub /etc/bash.bashrc which will be updated
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo tee -a /etc/bash.bashrc
extend your /etc/bash.bashrc with nix-daemon settings
# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix
~~> Setting up shell profiles for Fish with conf.d/nix.fish inside /etc/fish /usr/local/etc/fish /opt/homebrew/etc/fish /opt/local/etc/fish
~~> Setting up the default profile
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/var/root /nix/store/xwl8d4j7jc2lj2dz9987nfp80l9z9yr5-nix-2.27.0/bin/nix-env -i /nix/store/xwl8d4j7jc2lj2dz9987nfp80l9z9yr5-nix-2.27.0
to install a bootstrapping Nix in to the default profile
installing 'nix-2.27.0'
building '/nix/store/fqv2kybb55aq4l8ykn2rks8zzmrwwxqa-user-environment.drv'...
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/var/root /nix/store/xwl8d4j7jc2lj2dz9987nfp80l9z9yr5-nix-2.27.0/bin/nix-env -i /nix/store/jpj7i429d6v44ca9k1xpgyfq3kq3ng8z-nss-cacert-3.107
to install a bootstrapping SSL certificate just for Nix in to the default profile
installing 'nss-cacert-3.107'
building '/nix/store/rk6k22cds61dsy7i1ba1mzb2391yznw6-user-environment.drv'...
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/var/root NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt /nix/store/xwl8d4j7jc2lj2dz9987nfp80l9z9yr5-nix-2.27.0/bin/nix-channel --update nixpkgs
to update the default channel in the default profile
unpacking 1 channels...
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -m 0644 /var/folders/hv/ym4wh8mj0pj_19411_w1n0s00000gn/T/tmp.KBlKUdAhZp/nix.conf /etc/nix/nix.conf
to place the default nix daemon configuration (part 2)
~~> Setting up the nix-daemon LaunchDaemon
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/install -m u=rw,go=r /nix/var/nix/profiles/default/Library/LaunchDaemons/org.nixos.nix-daemon.plist /Library/LaunchDaemons/org.nixos.nix-daemon.plist
to set up the nix-daemon as a LaunchDaemon
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist
to load the LaunchDaemon plist for nix-daemon
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo launchctl kickstart -k system/org.nixos.nix-daemon
to start the nix-daemon
Could not kickstart service "org.nixos.nix-daemon": 1: Operation not permitted
---- oh no! --------------------------------------------------------------------
Oh 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.
:(
We'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
sudo launchctl print system | grep nix
``` 0 0 org.nixos.darwin-store 6019 - org.nixos.nix-daemon ```Checklist
- checked latest Nix manual (source)
- checked open installer issues and pull requests for possible duplicates
Add 👍 to issues you find important.