-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
This seems to be failing at a different point than #1582 .
Michaels-MacBook-Pro:~ curry$ sh ./install-nix
downloading Nix 1.11.15 binary tarball for x86_64-darwin from 'https://nixos.org/releases/nix/nix-1.11.15/nix-1.11.15-x86_64-darwin.tar.bz2' to '/var/folders/25/h6pww5l537d8vfykld5dgp940000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.l6TJusD6'...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25.8M 100 25.8M 0 0 456k 0 0:00:58 0:00:58 --:--:-- 573k
Switching to the Multi-User Darwin 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
---- 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
---- hardware report -----------------------------------------------------------
Cores: 8
---- Nix config report ---------------------------------------------------------
Temp Dir: /var/folders/25/h6pww5l537d8vfykld5dgp940000gn/T/tmp.XXXXXXXXXX.OK7d4a9c
Nix Root: /nix
Build Users: 8
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
Ready to continue?
[y/n] y
~~> Setting up the build group nixbld
Exists: Yes
~~> Setting up the build user nixbld1
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/sysadminctl -addUser -fullName Nix build user 1 -home /var/empty -UID 30001 -addUser nixbld1
Creating the Nix build user, nixbld1
2017-11-15 17:31:49.208 sysadminctl[6602:237284] Failed to authenticate with SystemAdministration framework.
---- 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