Skip to content

Instantly share code, notes, and snippets.

@dhess
Created February 13, 2020 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhess/0bce8f5992a3b34638f342d8c7833214 to your computer and use it in GitHub Desktop.
Save dhess/0bce8f5992a3b34638f342d8c7833214 to your computer and use it in GitHub Desktop.
% ./install --daemon
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] y
We will:
- make sure your computer doesn't already have Nix files
(if it does, I will tell you how to clean them up.)
- create local users (see the list above for the users we'll make)
- create a local group (nixbld)
- install Nix in to /nix
- create a configuration file in /etc/nix
- set up the "default profile" by creating some Nix-related files in
/var/root
- back up /etc/bashrc to /etc/bashrc.backup-before-nix
- update /etc/bashrc to include some Nix configuration
- back up /etc/zshrc to /etc/zshrc.backup-before-nix
- update /etc/zshrc to include some Nix configuration
- load and start a LaunchDaemon (at /Library/LaunchDaemons/org.nixos.nix-daemon.plist) for nix-daemon
Ready to continue?
[y/n] y
---- 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!
---- Nix config report ---------------------------------------------------------
Temp Dir: /var/folders/6f/nlf9gfgs661fnd3rgrygv_tr0000gn/T/tmp.XXXXXXXXXX.s4JEb3Zj
Nix Root: /nix
Build Users: 32
Build Group ID: 30000
Build Group Name: nixbld
build users:
Username: UID
nixbld1: 30001
nixbld2: 30002
nixbld3: 30003
nixbld4: 30004
nixbld5: 30005
nixbld6: 30006
nixbld7: 30007
nixbld8: 30008
nixbld9: 30009
nixbld10: 30010
nixbld11: 30011
nixbld12: 30012
nixbld13: 30013
nixbld14: 30014
nixbld15: 30015
nixbld16: 30016
nixbld17: 30017
nixbld18: 30018
nixbld19: 30019
nixbld20: 30020
nixbld21: 30021
nixbld22: 30022
nixbld23: 30023
nixbld24: 30024
nixbld25: 30025
nixbld26: 30026
nixbld27: 30027
nixbld28: 30028
nixbld29: 30029
nixbld30: 30030
nixbld31: 30031
nixbld32: 30032
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
Password:
Created: Yes
~~> Setting up the build user nixbld1
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/bin/dscl . create /Users/nixbld1 UniqueID 30001
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 30002
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 30003
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 30004
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 30005
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 30006
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 30007
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 30008
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 30009
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 30010
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 30011
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 30012
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 30013
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 30014
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 30015
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 30016
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 30017
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 30018
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 30019
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 30020
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 30021
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 30022
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 30023
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 30024
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 30025
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 30026
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 30027
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 30028
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 30029
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 30030
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 30031
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 30032
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,
- on IRC #nixos on irc.freenode.net
- on twitter @nixos_org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment