Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nix installation Issue on MacOS Catalina 10.15.7 #4994

Closed
harriswarren opened this issue Jul 8, 2021 · 9 comments
Closed

Nix installation Issue on MacOS Catalina 10.15.7 #4994

harriswarren opened this issue Jul 8, 2021 · 9 comments

Comments

@harriswarren
Copy link

Hello,

Below is the output from a nix install attempt on my 2012 Macbook. I was attempting a single user install, but it seems to be installing a multi-user install, which I was having issues in getting setup also. Thanks for any advice.

home@Mac-Pro-H dev % ./install-nix.sh --daemon --nix-extra-conf-file nix.conf
downloading Nix 2.3.14 binary tarball for x86_64-darwin from 'https://releases.nixos.org/nix/nix-2.3.14/nix-2.3.14-x86_64-darwin.tar.xz' to '/var/folders/sn/gb_7ksqd3vz4s3lh04b56d8m0000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.dpPseiZg'...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 34.6M 100 34.6M 0 0 5172k 0 0:00:06 0:00:06 --:--:-- 5806k
Note: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installation
Switching to the Daemon-based 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 one.

  2. Show you what we are going to install and where. Then we 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.

Would you like to see a more detailed list of what we will do?
[y/n] n

---- let's talk about sudo -----------------------------------------------------
This script is going to call sudo a lot. Every time we 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. We 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 we use sudo?
[y/n] y

Yay! Thanks! Let's get going!

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo test -e /var/root/.nix-defexpr

making sure that /var/root/.nix-defexpr doesn't exist

Password:

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo test -e /var/root/.nix-channels

making sure that /var/root/.nix-channels doesn't exist

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo test -e /var/root/.nix-profile

making sure that /var/root/.nix-profile doesn't exist

---- Nix config report ---------------------------------------------------------
Temp Dir: /var/folders/sn/gb_7ksqd3vz4s3lh04b56d8m0000gn/T/tmp.XXXXXXXXXX.mZGOmDPs
Nix Root: /nix
Build Users: 32
Build Group ID: 30000
Build Group Name: nixbld

build users:
Username: UID
_nixbld1: 301
_nixbld2: 302
_nixbld3: 303
_nixbld4: 304
_nixbld5: 305
_nixbld6: 306
_nixbld7: 307
_nixbld8: 308
_nixbld9: 309
_nixbld10: 310
_nixbld11: 311
_nixbld12: 312
_nixbld13: 313
_nixbld14: 314
_nixbld15: 315
_nixbld16: 316
_nixbld17: 317
_nixbld18: 318
_nixbld19: 319
_nixbld20: 320
_nixbld21: 321
_nixbld22: 322
_nixbld23: 323
_nixbld24: 324
_nixbld25: 325
_nixbld26: 326
_nixbld27: 327
_nixbld28: 328
_nixbld29: 329
_nixbld30: 330
_nixbld31: 331
_nixbld32: 332

Ready to continue?
[y/n] y

~~> 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 30000 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 301

Creating the Nix build user (#1), _nixbld1

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld1 IsHidden 1

in order to make _nixbld1 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld1 NFSHomeDirectory /var/empty

in order to give _nixbld1 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 1

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld1 UserShell /sbin/nologin

in order to give _nixbld1 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld2

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld2 UniqueID 302

Creating the Nix build user (#2), _nixbld2

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld2 IsHidden 1

in order to make _nixbld2 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld2 NFSHomeDirectory /var/empty

in order to give _nixbld2 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 2

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld2 UserShell /sbin/nologin

in order to give _nixbld2 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld3

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld3 UniqueID 303

Creating the Nix build user (#3), _nixbld3

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld3 IsHidden 1

in order to make _nixbld3 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld3 NFSHomeDirectory /var/empty

in order to give _nixbld3 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 3

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld3 UserShell /sbin/nologin

in order to give _nixbld3 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld4

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld4 UniqueID 304

Creating the Nix build user (#4), _nixbld4

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld4 IsHidden 1

in order to make _nixbld4 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld4 NFSHomeDirectory /var/empty

in order to give _nixbld4 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 4

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld4 UserShell /sbin/nologin

in order to give _nixbld4 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld5

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld5 UniqueID 305

Creating the Nix build user (#5), _nixbld5

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld5 IsHidden 1

in order to make _nixbld5 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld5 NFSHomeDirectory /var/empty

in order to give _nixbld5 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 5

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld5 UserShell /sbin/nologin

in order to give _nixbld5 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld6

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld6 UniqueID 306

Creating the Nix build user (#6), _nixbld6

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld6 IsHidden 1

in order to make _nixbld6 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld6 NFSHomeDirectory /var/empty

in order to give _nixbld6 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 6

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld6 UserShell /sbin/nologin

in order to give _nixbld6 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld7

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld7 UniqueID 307

Creating the Nix build user (#7), _nixbld7

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld7 IsHidden 1

in order to make _nixbld7 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld7 NFSHomeDirectory /var/empty

in order to give _nixbld7 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 7

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld7 UserShell /sbin/nologin

in order to give _nixbld7 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld8

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld8 UniqueID 308

Creating the Nix build user (#8), _nixbld8

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld8 IsHidden 1

in order to make _nixbld8 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld8 NFSHomeDirectory /var/empty

in order to give _nixbld8 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 8

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld8 UserShell /sbin/nologin

in order to give _nixbld8 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld9

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld9 UniqueID 309

Creating the Nix build user (#9), _nixbld9

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld9 IsHidden 1

in order to make _nixbld9 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld9 NFSHomeDirectory /var/empty

in order to give _nixbld9 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 9

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld9 UserShell /sbin/nologin

in order to give _nixbld9 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld10

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld10 UniqueID 310

Creating the Nix build user (#10), _nixbld10

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld10 IsHidden 1

in order to make _nixbld10 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld10 NFSHomeDirectory /var/empty

in order to give _nixbld10 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 10

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld10 UserShell /sbin/nologin

in order to give _nixbld10 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld11

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld11 UniqueID 311

Creating the Nix build user (#11), _nixbld11

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld11 IsHidden 1

in order to make _nixbld11 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld11 NFSHomeDirectory /var/empty

in order to give _nixbld11 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 11

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld11 UserShell /sbin/nologin

in order to give _nixbld11 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld12

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld12 UniqueID 312

Creating the Nix build user (#12), _nixbld12

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld12 IsHidden 1

in order to make _nixbld12 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld12 NFSHomeDirectory /var/empty

in order to give _nixbld12 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 12

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld12 UserShell /sbin/nologin

in order to give _nixbld12 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld13

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld13 UniqueID 313

Creating the Nix build user (#13), _nixbld13

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld13 IsHidden 1

in order to make _nixbld13 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld13 NFSHomeDirectory /var/empty

in order to give _nixbld13 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 13

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld13 UserShell /sbin/nologin

in order to give _nixbld13 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld14

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld14 UniqueID 314

Creating the Nix build user (#14), _nixbld14

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld14 IsHidden 1

in order to make _nixbld14 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld14 NFSHomeDirectory /var/empty

in order to give _nixbld14 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 14

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld14 UserShell /sbin/nologin

in order to give _nixbld14 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld15

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld15 UniqueID 315

Creating the Nix build user (#15), _nixbld15

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld15 IsHidden 1

in order to make _nixbld15 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld15 NFSHomeDirectory /var/empty

in order to give _nixbld15 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 15

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld15 UserShell /sbin/nologin

in order to give _nixbld15 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld16

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld16 UniqueID 316

Creating the Nix build user (#16), _nixbld16

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld16 IsHidden 1

in order to make _nixbld16 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld16 NFSHomeDirectory /var/empty

in order to give _nixbld16 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 16

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld16 UserShell /sbin/nologin

in order to give _nixbld16 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld17

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld17 UniqueID 317

Creating the Nix build user (#17), _nixbld17

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld17 IsHidden 1

in order to make _nixbld17 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld17 NFSHomeDirectory /var/empty

in order to give _nixbld17 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 17

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld17 UserShell /sbin/nologin

in order to give _nixbld17 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld18

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld18 UniqueID 318

Creating the Nix build user (#18), _nixbld18

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld18 IsHidden 1

in order to make _nixbld18 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld18 NFSHomeDirectory /var/empty

in order to give _nixbld18 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 18

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld18 UserShell /sbin/nologin

in order to give _nixbld18 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld19

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld19 UniqueID 319

Creating the Nix build user (#19), _nixbld19

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld19 IsHidden 1

in order to make _nixbld19 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld19 NFSHomeDirectory /var/empty

in order to give _nixbld19 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 19

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld19 UserShell /sbin/nologin

in order to give _nixbld19 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld20

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld20 UniqueID 320

Creating the Nix build user (#20), _nixbld20

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld20 IsHidden 1

in order to make _nixbld20 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld20 NFSHomeDirectory /var/empty

in order to give _nixbld20 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 20

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld20 UserShell /sbin/nologin

in order to give _nixbld20 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld21

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld21 UniqueID 321

Creating the Nix build user (#21), _nixbld21

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld21 IsHidden 1

in order to make _nixbld21 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld21 NFSHomeDirectory /var/empty

in order to give _nixbld21 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 21

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld21 UserShell /sbin/nologin

in order to give _nixbld21 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld22

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld22 UniqueID 322

Creating the Nix build user (#22), _nixbld22

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld22 IsHidden 1

in order to make _nixbld22 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld22 NFSHomeDirectory /var/empty

in order to give _nixbld22 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 22

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld22 UserShell /sbin/nologin

in order to give _nixbld22 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld23

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld23 UniqueID 323

Creating the Nix build user (#23), _nixbld23

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld23 IsHidden 1

in order to make _nixbld23 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld23 NFSHomeDirectory /var/empty

in order to give _nixbld23 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 23

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld23 UserShell /sbin/nologin

in order to give _nixbld23 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld24

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld24 UniqueID 324

Creating the Nix build user (#24), _nixbld24

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld24 IsHidden 1

in order to make _nixbld24 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld24 NFSHomeDirectory /var/empty

in order to give _nixbld24 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 24

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld24 UserShell /sbin/nologin

in order to give _nixbld24 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld25

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld25 UniqueID 325

Creating the Nix build user (#25), _nixbld25

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld25 IsHidden 1

in order to make _nixbld25 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld25 NFSHomeDirectory /var/empty

in order to give _nixbld25 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 25

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld25 UserShell /sbin/nologin

in order to give _nixbld25 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld26

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld26 UniqueID 326

Creating the Nix build user (#26), _nixbld26

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld26 IsHidden 1

in order to make _nixbld26 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld26 NFSHomeDirectory /var/empty

in order to give _nixbld26 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 26

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld26 UserShell /sbin/nologin

in order to give _nixbld26 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld27

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld27 UniqueID 327

Creating the Nix build user (#27), _nixbld27

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld27 IsHidden 1

in order to make _nixbld27 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld27 NFSHomeDirectory /var/empty

in order to give _nixbld27 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 27

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld27 UserShell /sbin/nologin

in order to give _nixbld27 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld28

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld28 UniqueID 328

Creating the Nix build user (#28), _nixbld28

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld28 IsHidden 1

in order to make _nixbld28 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld28 NFSHomeDirectory /var/empty

in order to give _nixbld28 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 28

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld28 UserShell /sbin/nologin

in order to give _nixbld28 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld29

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld29 UniqueID 329

Creating the Nix build user (#29), _nixbld29

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld29 IsHidden 1

in order to make _nixbld29 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld29 NFSHomeDirectory /var/empty

in order to give _nixbld29 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 29

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld29 UserShell /sbin/nologin

in order to give _nixbld29 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld30

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld30 UniqueID 330

Creating the Nix build user (#30), _nixbld30

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld30 IsHidden 1

in order to make _nixbld30 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld30 NFSHomeDirectory /var/empty

in order to give _nixbld30 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 30

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld30 UserShell /sbin/nologin

in order to give _nixbld30 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld31

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld31 UniqueID 331

Creating the Nix build user (#31), _nixbld31

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld31 IsHidden 1

in order to make _nixbld31 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld31 NFSHomeDirectory /var/empty

in order to give _nixbld31 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 31

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld31 UserShell /sbin/nologin

in order to give _nixbld31 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

~~> Setting up the build user _nixbld32

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . create /Users/_nixbld32 UniqueID 332

Creating the Nix build user (#32), _nixbld32

       Created:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld32 IsHidden 1

in order to make _nixbld32 a hidden user

        Hidden:	Yes

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld32 NFSHomeDirectory /var/empty

in order to give _nixbld32 a safe home directory

Home Directory:	/var/empty
          Note:	Nix build user 32

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo /usr/bin/dscl . -create /Users/_nixbld32 UserShell /sbin/nologin

in order to give _nixbld32 a safe home directory

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 30000

to let the nix daemon use this user for builds (this might seem redundant, but there are two concepts of group membership)

PrimaryGroupID:	30000

---- sudo execution ------------------------------------------------------------
I am executing:

$ sudo mkdir -pv -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/gcroots/per-user /nix/var/nix/profiles/per-user

to make the basic directory structure of Nix (part 1)

mkdir: /nix: Read-only file system
mkdir: /nix/var: Read-only file system
mkdir: /nix/var/log: Read-only file system
mkdir: /nix/var/log/nix: Read-only file system
mkdir: /nix/var/log/nix/drvs: Read-only file system
mkdir: /nix/var/nix: Read-only file system
mkdir: /nix/var/nix/db: Read-only file system
mkdir: /nix/var/nix/gcroots: Read-only file system
mkdir: /nix/var/nix/profiles: Read-only file system
mkdir: /nix/var/nix/temproots: Read-only file system
mkdir: /nix/var/nix/userpool: Read-only file system
mkdir: /nix/var/nix/gcroots/per-user: Read-only file system
mkdir: /nix/var/nix/profiles/per-user: Read-only file system

---- oh no! --------------------------------------------------------------------
Jeeze, 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.

If you can, open an issue at https://github.com/nixos/nix/issues

Or feel free to contact the team,

@harriswarren
Copy link
Author

I have created a new volume and created a nix directory. Now the install get's stuck . Please advise. Below is the message.

home@Mac-Pro-H nix % <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
zsh: permission denied: /dev/fd/11
home@Mac-Pro-H nix % % 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 2619 100 2619 0 0 8235 0 --:--:-- --:--:-- --:--:-- 8235
(23) Failed writing body

@domenkozar
Copy link
Member

What's the output of sw_vers -productVersion?

@offbyone
Copy link

I can't speak for @harriswarren but I am encountering roughly the same issue (using just --daemon as a flag, not the rest) and I get this:

❯ sw_vers -productVersion
11.4

@domenkozar
Copy link
Member

@abathur what part of your installer fixes address this on master? Maybe a single commit we could backport?

@abathur
Copy link
Member

abathur commented Jul 14, 2021

@harriswarren

<(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume

should be:

sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume

(But I'll note that I suspect /nix already existed on the system before the "first" install attempt in this thread, and that the first install attempt may have left some artifacts that need to be cleaned up before the install will run clean).

@abathur
Copy link
Member

abathur commented Jul 14, 2021

@offbyone The release installer has a check that should tell you to use --darwin-use-unencrypted-nix-store-volume and exit if you aren't supplying it--but the check is flawed and won't fire if you already have a /nix directory (presumably from an earlier install/attempt?)

@domenkozar This basically comes down to the ~curing behavior. Unfortunately, it's all in one commit.

My concern with a hasty attempt to try and cherry-pick my commit is that there are other unreleased installer fixes in master that I'm pretty sure I overlapped with, and which may or may not be necessary for it to work.

After stewing on it a bit, maybe just pulling it all is a ~simpler/safer path (even if it muddles the history), like:

  • check out 2.3-maintenance
  • check out all of the changed files in scripts/ into 2.3-maintenance from master (at least for my commit, this is scripts/{create-darwin-volume.sh,install-darwin-multi-user.sh,install-multi-user.sh,install-nix-from-closure.sh,install-systemd-multi-user.sh}
  • re-apply the spirit of the markdown doc changes I made to doc/manual/src/installation/installing-binary.md to the equivalent docbook source (this may also need to apply to any other "documented" changes? IDK if there are any)
  • make sure any other changes that have been made in 2.3-maintenance scripts/ were also present in master (hopefully--I imagine they are all ~backports...)

@nrdxp
Copy link
Contributor

nrdxp commented Aug 31, 2021

umm so I ran into an issue, that doesn't appear to be this one, but is also an issue with Catalina install script, so I don't think opening a new issue would be the right move either. I reported the issue originally at nix-community/nix-unstable-installer#13

The details are all there, but essentially it looks like #4289 may have broken the APFS volume creation, exiting with a permission error.

@abathur
Copy link
Member

abathur commented Aug 31, 2021

@nrdxp I suspect I know what's going on here, but I also think it is worth documenting in a separate issue (especially if the fix causes its own trouble for others...). Useful there:

  • maybe title "macOS Catalina install fails on insufficient permissions to create volume"
  • A little about the runner setup (anything that might help reproduce or create a test case)? Are they stock runners from a public service? In-house? Is this internal or external storage?
  • A full log wouldn't hurt if it doesn't leak anything you need to keep private. Maybe just attach it or hide it in a details node.

@harriswarren
Copy link
Author

I was able to successfully install 2.5.1 on my new macbook. MacOS Monterrey 12.0.1 with Apple M1 Max chip. Thanks for the support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants