Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created October 11, 2018 12:24
Show Gist options
  • Save grahamc/5c3f9cb10984e5c2af696cff419f63c1 to your computer and use it in GitHub Desktop.
Save grahamc/5c3f9cb10984e5c2af696cff419f63c1 to your computer and use it in GitHub Desktop.
==> /tmp/apply.stderr <==
+ ALLOW_PREEXISTING_INSTALLATION=1
+ cat /dev/null
+ sh /dev/fd/63 --daemon
++ curl https://nixos.org/releases/nix/nix-2.1.3/install
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2472 100 2472 0 0 5296 0 --:--:-- --:--:-- --:--:-- 5293
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
1 28.8M 1 320k 0 0 336k 0 0:01:27 --:--:-- 0:01:27 336k
==> /tmp/apply.stdout <==
Thu Oct 11 12:21:51 UTC 2018
downloading Nix 2.1.3 binary tarball for x86_64-darwin from 'https://nixos.org/releases/nix/nix-2.1.3/nix-2.1.3-x86_64-darwin.tar.bz2' to '/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/nix-binary-tarball-unpack.XXXXXXXXXX.EKHmNOVW'...
==> /tmp/apply.stderr <==
100 28.8M 100 28.8M 0 0 2981k 0 0:00:09 0:00:09 --:--:-- 3398k
Note: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installation
==> /tmp/apply.stdout <==
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?
No TTY, assuming you would say yes :)
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?
No TTY, assuming you would say yes :)
---- let's talk about sudo -----------------------------------------------------
This script is going to call sudo a lot. Normally, it would show you
exactly what commands it is running and why. However, the script is
run in a headless fashion, like this:
$ curl https://nixos.org/nix/install | sh
or maybe in a CI pipeline. Because of that, we're going to skip the
verbose output in the interest of brevity.
If you would like to
see the output, try like this:
$ curl -o install-nix https://nixos.org/nix/install
$ sh ./install-nix
---- Nix config report ---------------------------------------------------------
Temp Dir: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.XXXXXXXXXX.Nfat8Odi
Nix Root: /nix
Build Users: 32
Build Group ID: 30000
Build Group Name: nixbld
Preexisting Install: Allowed
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?
No TTY, assuming you would say yes :)
~~> Setting up the build group nixbld
Created: Yes
~~> Setting up the build user nixbld1
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 1
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld2
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 2
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld3
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 3
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld4
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 4
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld5
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 5
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld6
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 6
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld7
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 7
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld8
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 8
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld9
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 9
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld10
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 10
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld11
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 11
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld12
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 12
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld13
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 13
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld14
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 14
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld15
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 15
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld16
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 16
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld17
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 17
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld18
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 18
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld19
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 19
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld20
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 20
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld21
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 21
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld22
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 22
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld23
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 23
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld24
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 24
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld25
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 25
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld26
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 26
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld27
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 27
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld28
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 28
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld29
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 29
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld30
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 30
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld31
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 31
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the build user nixbld32
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 32
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
Alright! We have our first nix at /nix/store/dkjlfkrknmxbjmpfk3dg4q3nmb7m3zvk-nix-2.1.3
Just finished getting the nix database ready.
# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix
# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix
==> /tmp/apply.stderr <==
installing 'nix-2.1.3'
building '/nix/store/x7j4qdpwgi8bh7m6a2dr4fk3gjwbv234-user-environment.drv'...
created 7 symlinks in user environment
installing 'nss-cacert-3.38'
building '/nix/store/bzwdcbib221panmzwnfna2hgw74mpna1-user-environment.drv'...
created 9 symlinks in user environment
unpacking channels...
created 2 symlinks in user environment
==> /tmp/apply.stdout <==
Alright! We're done!
Before Nix will work in your existing shells, you'll need to close
them and open them again. Other than that, you should be ready to go.
Try it! Open a new terminal, and type:
$ nix-shell -p nix-info --run "nix-info -m"
Thank you for using this installer. If you have any feedback, don't
hesitate:
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
==> /tmp/apply.stderr <==
+ . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
++ '[' -n '' ']'
++ __ETC_PROFILE_NIX_SOURCED=1
++ '[' '' '!=' root -o '!' -w /nix/var/nix/db ']'
++ export NIX_REMOTE=daemon
++ NIX_REMOTE=daemon
++ export NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/
++ NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/
++ export 'NIX_PROFILES=/nix/var/nix/profiles/default /.nix-profile'
++ NIX_PROFILES='/nix/var/nix/profiles/default /.nix-profile'
++ mkdir -m 0755 -p /nix/var/nix/profiles/per-user/
++ test -O /nix/var/nix/profiles/per-user/
++ test -w
++ test -L /.nix-profile
++ test '' '!=' root
++ ln -s /nix/var/nix/profiles/per-user//profile /.nix-profile
++ '[' '' = root -a '!' -e /.nix-channels ']'
++ NIX_USER_GCROOTS_DIR=/nix/var/nix/gcroots/per-user/
++ mkdir -m 0755 -p /nix/var/nix/gcroots/per-user/
++ test -O /nix/var/nix/gcroots/per-user/
++ '[' '!' -e /.nix-defexpr -o -L /.nix-defexpr ']'
++ rm -f /.nix-defexpr
++ mkdir -p /.nix-defexpr
++ '[' '' '!=' root ']'
++ ln -s /nix/var/nix/profiles/per-user/root/channels /.nix-defexpr/channels_root
++ '[' '!' -z '' ']'
++ '[' -e /etc/ssl/certs/ca-certificates.crt ']'
++ '[' -e /etc/ssl/ca-bundle.pem ']'
++ '[' -e /etc/ssl/certs/ca-bundle.crt ']'
++ '[' -e /etc/pki/tls/certs/ca-bundle.crt ']'
++ '[' -e /nix/var/nix/profiles/per-user//etc/ssl/certs/ca-bundle.crt ']'
++ '[' -e /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt ']'
++ export NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
++ NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
++ export NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs:/nix/var/nix/profiles/per-user/root/channels
++ NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs:/nix/var/nix/profiles/per-user/root/channels
++ export PATH=/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/bin:/bin:/usr/sbin:/sbin
++ PATH=/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/bin:/bin:/usr/sbin:/sbin
+ yes
++ nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer --no-out-link
unpacking 'https://github.com/LnL7/nix-darwin/archive/master.tar.gz'...
these derivations will be built:
/nix/store/g85s1n1lxd6ya4xkzg6z9w24nh1gqk88-darwin-installer.drv
these paths will be fetched (139.47 MiB download, 742.88 MiB unpacked):
/nix/store/0mpj127g03pvs4wrwgmkr0729jlvnyp3-binutils-2.30
/nix/store/19swccz3mc7594hncp3pznl8yjsrm3gj-openssl-1.0.2p
/nix/store/1n14vfxh6h4yad67ibs6z3aazg36wm8y-ncurses-6.1
/nix/store/31djixfgy92naadnvyx9z7s0dr0br0x3-libssh2-1.8.0
/nix/store/342bldlxhl2smdigz01and97i9wjxfwc-gnutar-1.30
/nix/store/3nxcscclhjn88wb20w3snfpvw0qc5f7b-gnused-4.5
/nix/store/4i672n55l1nd7zjvz210za67ihi3yq2y-libkrb5-1.15.2
/nix/store/563sl4cp26k2jqayanxhln352sdixc05-aws-sdk-cpp-1.5.17
/nix/store/59abl8zfzwcgpd5g67d76cxsxxajs4iv-curl-7.61.1
/nix/store/6ic2kk75jm3hxcdgvpff0v796i2lzmm0-libc++abi-5.0.2
/nix/store/6mca864ajrir4d7j0aka53pvh2p7vdaq-clang-wrapper-5.0.2
/nix/store/87kwnwcvj1g7khm9lb8b09i8p733ayd0-curl-7.59.0
/nix/store/8r79sdgcdh8xszhr2h6bgqfjyiwwniwm-openssh-7.7p1
/nix/store/9d1p1xr8b74rq5r5vmhj8g21j7pilbyp-cctools-port-895
/nix/store/9qg328ylika82gn18yxy3a0j0chb9nxa-libc++-5.0.2
/nix/store/9xjkb4xz0b5lmizij9ppxy7lkxdxhx6b-cctools-binutils-darwin
/nix/store/a4r2r0mj0isd5byk17pcydgy9595xz3z-gettext-0.19.8.1
/nix/store/ai21v6y6nv5hc655m874jl4fyyg771xs-patch-2.7.6
/nix/store/apfmlx8nvmrix5pfblvb61n3fyqj4k6h-xz-5.2.4-bin
/nix/store/av9jg09amglk8r38j51banaf7pcgb9cs-nghttp2-1.32.0-lib
/nix/store/bn0ingjfw76qyfnkh96ykz0hqp9mkyzf-gawk-4.2.1
/nix/store/bnj9wbbpwpk1ar8dq77mfbljdqjfqrdy-xz-5.2.4
/nix/store/bq11a1r64gc0k19cc27dxgd88nvrc5i9-Libsystem-osx-10.11.6
/nix/store/cb4xa0dbhyr0x4hxa3603nvj1fg3i3cr-boost-1.67_0
/nix/store/cj3zhbcdwldkfn5a6lfm1cs64h84zlha-libiconv-osx-10.11.6
/nix/store/da5bzkg705ws43l0pqpnfvq3wmy3xyfd-bzip2-1.0.6.0.1
/nix/store/dq5vckiw82fd32g8vgp570rfwjbfp6nn-libatomic_ops-7.6.6
/nix/store/f2lp21azk4w88f17zgf4mji64agb18ga-bash-4.4-p23
/nix/store/fgsrzlbgxh556aiywwl810j8cbz2syx4-ed-1.14.2
/nix/store/g6hq2cdv6r8y4h5dhgzsw90pffhavibn-adv_cmds-osx-10.5.8-locale
/nix/store/h3fqv7ivf2hbsnw5ali6x991bvry67hd-ICU-osx-10.10.5
/nix/store/h4x86zin199g80szdagd87yjd1n4w0bq-brotli-1.0.6-lib
/nix/store/h6w6axk6yxdmqkvl2xpxkhn9rsnbg7ln-pcre-8.42
/nix/store/hw3wy3k4ha226qxv0bjn21rbbmwdjspr-nghttp2-1.32.0-lib
/nix/store/k6b8ncmqh7bwx21022ryi2hifpsxwzjg-stdenv-darwin
/nix/store/kdrjjwyjjxv15nzdpmad7aqjj42pj0az-curl-7.61.1
/nix/store/l65irh00wjrr053mn0s7hf9h8fsr8v7h-gmp-6.1.2
/nix/store/lyhsl93f2w3vh7rf6plfvc6agvwzfdn5-nix-2.1.3
/nix/store/n3bb20x4w7y1ni3ayrm25xh0jg1g96z8-gnugrep-3.1
/nix/store/ndgi68zvxnc364ap3wkvy884wa44cv62-libkrb5-1.15.2
/nix/store/njs4af92i3mq16cm0gfyr6m7p7l30a1j-gzip-1.9
/nix/store/p40h28sdmpsx1lccrqw6a48nqv8dghh4-findutils-4.6.0
/nix/store/p5a5sbmy5hqdfy3355ry6y158wxcid43-libsodium-1.0.16
/nix/store/pdi2y3crm4qgsv640ja1dznavdw4z1km-compiler-rt-5.0.2-dev
/nix/store/piiv7i6ra67gnlkgv96b843z3a6v5nvr-libedit-20180525-3.1
/nix/store/q5arck4q21sfx3fbpzwmx5i65qh3yqqv-libssh2-1.8.0
/nix/store/q90fia81dvzg87vciyjxv11f7f91zqs5-bzip2-1.0.6.0.1-bin
/nix/store/qlfpbn2jl6g5mjf7pr0gkwlmiv0sf65k-sqlite-3.24.0
/nix/store/qyl9m5wynpyh69qcad28zh8r7ian1x8c-cctools-binutils-darwin-wrapper
/nix/store/rlp3ggn53pc1sd433kfwglmhz4lsrh4x-gnumake-4.2.1
/nix/store/rnbmhi338cjh1pasd95bfy7flmv877sx-swift-corefoundation
/nix/store/rzn2hgsrbw1kny5bgw5zhm0f8pjwdgnq-libffi-3.2.1
/nix/store/s2akgyr60hfrd9xl28hazh37flx5kaz3-llvm-5.0.2-lib
/nix/store/s63b2h0ckqjy9x9klkz5fp8wbxg3xx02-diffutils-3.6
/nix/store/sisnba2lgn41gf0bqmdnh590y1xpggxy-compiler-rt-5.0.2
/nix/store/v8mwag83hb2h4i5846z700n2xixl7vjb-zlib-1.2.11
/nix/store/v9jap7nm2s4kha3ldvk6fg1apyrrwhil-boehm-gc-7.6.8
/nix/store/xa1xfhkrsxk5apgs9v8z4012m0nvj429-openssl-1.0.2p
/nix/store/xv9i3861lzjrbmg035465y6y86i33sql-nix-2.1.3-man
/nix/store/y9vvaqln59nw54scsdq9rqxbpzwfc8xs-libxml2-2.9.8
/nix/store/ympyng80q38sl2al23hxjrialrv7gl3m-clang-5.0.2-lib
/nix/store/zf0c181cilcwjvf6jrx2vq1jr936vdxs-expand-response-params
/nix/store/zvja64pgiscn682807km6ihcmpmiy2cp-clang-5.0.2
/nix/store/zyyw7qxpj1yri8xdasbm68ix3hwmly85-coreutils-8.30
copying path '/nix/store/bq11a1r64gc0k19cc27dxgd88nvrc5i9-Libsystem-osx-10.11.6' from 'https://cache.nixos.org'...
copying path '/nix/store/g6hq2cdv6r8y4h5dhgzsw90pffhavibn-adv_cmds-osx-10.5.8-locale' from 'https://cache.nixos.org'...
copying path '/nix/store/xv9i3861lzjrbmg035465y6y86i33sql-nix-2.1.3-man' from 'https://cache.nixos.org'...
copying path '/nix/store/dq5vckiw82fd32g8vgp570rfwjbfp6nn-libatomic_ops-7.6.6' from 'https://cache.nixos.org'...
copying path '/nix/store/f2lp21azk4w88f17zgf4mji64agb18ga-bash-4.4-p23' from 'https://cache.nixos.org'...
copying path '/nix/store/da5bzkg705ws43l0pqpnfvq3wmy3xyfd-bzip2-1.0.6.0.1' from 'https://cache.nixos.org'...
copying path '/nix/store/zf0c181cilcwjvf6jrx2vq1jr936vdxs-expand-response-params' from 'https://cache.nixos.org'...
copying path '/nix/store/bn0ingjfw76qyfnkh96ykz0hqp9mkyzf-gawk-4.2.1' from 'https://cache.nixos.org'...
copying path '/nix/store/rlp3ggn53pc1sd433kfwglmhz4lsrh4x-gnumake-4.2.1' from 'https://cache.nixos.org'...
copying path '/nix/store/3nxcscclhjn88wb20w3snfpvw0qc5f7b-gnused-4.5' from 'https://cache.nixos.org'...
copying path '/nix/store/6ic2kk75jm3hxcdgvpff0v796i2lzmm0-libc++abi-5.0.2' from 'https://cache.nixos.org'...
copying path '/nix/store/rzn2hgsrbw1kny5bgw5zhm0f8pjwdgnq-libffi-3.2.1' from 'https://cache.nixos.org'...
copying path '/nix/store/cj3zhbcdwldkfn5a6lfm1cs64h84zlha-libiconv-osx-10.11.6' from 'https://cache.nixos.org'...
copying path '/nix/store/1n14vfxh6h4yad67ibs6z3aazg36wm8y-ncurses-6.1' from 'https://cache.nixos.org'...
copying path '/nix/store/hw3wy3k4ha226qxv0bjn21rbbmwdjspr-nghttp2-1.32.0-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/xa1xfhkrsxk5apgs9v8z4012m0nvj429-openssl-1.0.2p' from 'https://cache.nixos.org'...
copying path '/nix/store/h6w6axk6yxdmqkvl2xpxkhn9rsnbg7ln-pcre-8.42' from 'https://cache.nixos.org'...
copying path '/nix/store/bnj9wbbpwpk1ar8dq77mfbljdqjfqrdy-xz-5.2.4' from 'https://cache.nixos.org'...
copying path '/nix/store/v8mwag83hb2h4i5846z700n2xixl7vjb-zlib-1.2.11' from 'https://cache.nixos.org'...
copying path '/nix/store/0mpj127g03pvs4wrwgmkr0729jlvnyp3-binutils-2.30' from 'https://cache.nixos.org'...
copying path '/nix/store/y9vvaqln59nw54scsdq9rqxbpzwfc8xs-libxml2-2.9.8' from 'https://cache.nixos.org'...
copying path '/nix/store/q90fia81dvzg87vciyjxv11f7f91zqs5-bzip2-1.0.6.0.1-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/fgsrzlbgxh556aiywwl810j8cbz2syx4-ed-1.14.2' from 'https://cache.nixos.org'...
copying path '/nix/store/njs4af92i3mq16cm0gfyr6m7p7l30a1j-gzip-1.9' from 'https://cache.nixos.org'...
copying path '/nix/store/4i672n55l1nd7zjvz210za67ihi3yq2y-libkrb5-1.15.2' from 'https://cache.nixos.org'...
copying path '/nix/store/apfmlx8nvmrix5pfblvb61n3fyqj4k6h-xz-5.2.4-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/9qg328ylika82gn18yxy3a0j0chb9nxa-libc++-5.0.2' from 'https://cache.nixos.org'...
copying path '/nix/store/ai21v6y6nv5hc655m874jl4fyyg771xs-patch-2.7.6' from 'https://cache.nixos.org'...
copying path '/nix/store/n3bb20x4w7y1ni3ayrm25xh0jg1g96z8-gnugrep-3.1' from 'https://cache.nixos.org'...
copying path '/nix/store/q5arck4q21sfx3fbpzwmx5i65qh3yqqv-libssh2-1.8.0' from 'https://cache.nixos.org'...
copying path '/nix/store/h3fqv7ivf2hbsnw5ali6x991bvry67hd-ICU-osx-10.10.5' from 'https://cache.nixos.org'...
copying path '/nix/store/sisnba2lgn41gf0bqmdnh590y1xpggxy-compiler-rt-5.0.2' from 'https://cache.nixos.org'...
copying path '/nix/store/a4r2r0mj0isd5byk17pcydgy9595xz3z-gettext-0.19.8.1' from 'https://cache.nixos.org'...
copying path '/nix/store/l65irh00wjrr053mn0s7hf9h8fsr8v7h-gmp-6.1.2' from 'https://cache.nixos.org'...
copying path '/nix/store/ympyng80q38sl2al23hxjrialrv7gl3m-clang-5.0.2-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/s2akgyr60hfrd9xl28hazh37flx5kaz3-llvm-5.0.2-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/kdrjjwyjjxv15nzdpmad7aqjj42pj0az-curl-7.61.1' from 'https://cache.nixos.org'...
copying path '/nix/store/zyyw7qxpj1yri8xdasbm68ix3hwmly85-coreutils-8.30' from 'https://cache.nixos.org'...
copying path '/nix/store/s63b2h0ckqjy9x9klkz5fp8wbxg3xx02-diffutils-3.6' from 'https://cache.nixos.org'...
copying path '/nix/store/p40h28sdmpsx1lccrqw6a48nqv8dghh4-findutils-4.6.0' from 'https://cache.nixos.org'...
copying path '/nix/store/pdi2y3crm4qgsv640ja1dznavdw4z1km-compiler-rt-5.0.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/rnbmhi338cjh1pasd95bfy7flmv877sx-swift-corefoundation' from 'https://cache.nixos.org'...
copying path '/nix/store/342bldlxhl2smdigz01and97i9wjxfwc-gnutar-1.30' from 'https://cache.nixos.org'...
copying path '/nix/store/v9jap7nm2s4kha3ldvk6fg1apyrrwhil-boehm-gc-7.6.8' from 'https://cache.nixos.org'...
copying path '/nix/store/cb4xa0dbhyr0x4hxa3603nvj1fg3i3cr-boost-1.67_0' from 'https://cache.nixos.org'...
copying path '/nix/store/h4x86zin199g80szdagd87yjd1n4w0bq-brotli-1.0.6-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/piiv7i6ra67gnlkgv96b843z3a6v5nvr-libedit-20180525-3.1' from 'https://cache.nixos.org'...
copying path '/nix/store/ndgi68zvxnc364ap3wkvy884wa44cv62-libkrb5-1.15.2' from 'https://cache.nixos.org'...
copying path '/nix/store/p5a5sbmy5hqdfy3355ry6y158wxcid43-libsodium-1.0.16' from 'https://cache.nixos.org'...
copying path '/nix/store/av9jg09amglk8r38j51banaf7pcgb9cs-nghttp2-1.32.0-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/19swccz3mc7594hncp3pznl8yjsrm3gj-openssl-1.0.2p' from 'https://cache.nixos.org'...
copying path '/nix/store/qlfpbn2jl6g5mjf7pr0gkwlmiv0sf65k-sqlite-3.24.0' from 'https://cache.nixos.org'...
copying path '/nix/store/31djixfgy92naadnvyx9z7s0dr0br0x3-libssh2-1.8.0' from 'https://cache.nixos.org'...
copying path '/nix/store/8r79sdgcdh8xszhr2h6bgqfjyiwwniwm-openssh-7.7p1' from 'https://cache.nixos.org'...
copying path '/nix/store/87kwnwcvj1g7khm9lb8b09i8p733ayd0-curl-7.59.0' from 'https://cache.nixos.org'...
copying path '/nix/store/59abl8zfzwcgpd5g67d76cxsxxajs4iv-curl-7.61.1' from 'https://cache.nixos.org'...
copying path '/nix/store/563sl4cp26k2jqayanxhln352sdixc05-aws-sdk-cpp-1.5.17' from 'https://cache.nixos.org'...
copying path '/nix/store/lyhsl93f2w3vh7rf6plfvc6agvwzfdn5-nix-2.1.3' from 'https://cache.nixos.org'...
copying path '/nix/store/9d1p1xr8b74rq5r5vmhj8g21j7pilbyp-cctools-port-895' from 'https://cache.nixos.org'...
copying path '/nix/store/9xjkb4xz0b5lmizij9ppxy7lkxdxhx6b-cctools-binutils-darwin' from 'https://cache.nixos.org'...
copying path '/nix/store/qyl9m5wynpyh69qcad28zh8r7ian1x8c-cctools-binutils-darwin-wrapper' from 'https://cache.nixos.org'...
copying path '/nix/store/zvja64pgiscn682807km6ihcmpmiy2cp-clang-5.0.2' from 'https://cache.nixos.org'...
copying path '/nix/store/6mca864ajrir4d7j0aka53pvh2p7vdaq-clang-wrapper-5.0.2' from 'https://cache.nixos.org'...
copying path '/nix/store/k6b8ncmqh7bwx21022ryi2hifpsxwzjg-stdenv-darwin' from 'https://cache.nixos.org'...
building '/nix/store/g85s1n1lxd6ya4xkzg6z9w24nh1gqk88-darwin-installer.drv'...
unpacking sources
patching sources
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
strip is /nix/store/9xjkb4xz0b5lmizij9ppxy7lkxdxhx6b-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/1lqwr1602966hihswd1lj1rycawya804-darwin-installer/bin
patching script interpreter paths in /nix/store/1lqwr1602966hihswd1lj1rycawya804-darwin-installer
+ /nix/store/1lqwr1602966hihswd1lj1rycawya804-darwin-installer/bin/darwin-installer
Installing nix-darwin...
copying example configuration.nix
these derivations will be built:
/nix/store/sxaq49wacsvqd9cxl9jkbgypfzsrizp3-activate-system-start.drv
/nix/store/shimjdnnm4i6cbqwsynl0j5qhv5dv3q6-org.nixos.activate-system.plist.drv
/nix/store/0sx9m9iwvcllliypjhijx2mmbzhg7f1m-launchd.drv
/nix/store/3yif0255sshd3kiswf5q2zf7mdpqv2ii-etc-ssh_known_hosts.drv
/nix/store/7bcbrlncvkg9v4dvrp5544iyifirwy1d-darwin-rebuild.drv
/nix/store/865w8xvrsqkj8vih6k7xlqlaz38b6sbr-darwin-option.drv
/nix/store/aykd00wy58ygirgydh9cqyjng9jzvaz2-system-path.drv
/nix/store/brxaz73n26qpxr0ams0l2h4a301j8vn8-system-applications.drv
/nix/store/g55b715ympl1a2wivi05xknfy98cgnfw-nix.conf.drv
/nix/store/zwqd04zq4b8h6s2p73nxggzhwjxz760y-etc-bashrc.drv
/nix/store/kcg1skmhr669x97xhdr495b28jyzx82w-etc.drv
/nix/store/wpk2jlffh68m5njwl174irvf4j1qbfl4-darwin-system-19.03pre-git.drv
these paths will be fetched (18.13 MiB download, 98.30 MiB unpacked):
/nix/store/0smv1fpqv12ih7wgq38xi8ivm2r6703s-gettext-0.19.8.1
/nix/store/1sc3v9iavzqbfw9b3aj818mmdzig9k65-nix-info
/nix/store/1y0s1g7xg8fl8y0a9g2q6dcp05ap2mi5-DarwinTools-1
/nix/store/af6ckm7i321gayikajgp91xjbgdzynh5-bash-interactive-4.4-p23-man
/nix/store/bz05qzbykfbplqdz0ka1djkwcmlzi9sb-readline-7.0p5
/nix/store/c5a3d01x5n14f97hr2ni45z39cbqm6hk-perl-5.28.0
/nix/store/g2cglva2w6alp5dq6hkdswljdvqcx8vi-bash-interactive-4.4-p23
/nix/store/ja7bfv721yi8d03wlypqshax6d0j2ac5-texinfo-interactive-6.5
/nix/store/kr61k5a5nriph765rvlfzjgfccgbypv8-bash-interactive-4.4-p23-info
/nix/store/nfrbbv9bxf2x1mzmmd38zsn7lq44lvm6-stdenv-darwin
/nix/store/yrf8646j2nh298jcdr2fi788sqjs0h83-nss-cacert-3.38
/nix/store/zvllnaz3rrszksfzjm8rw3jqwzn3j8vq-vim-8.1.0348
copying path '/nix/store/nfrbbv9bxf2x1mzmmd38zsn7lq44lvm6-stdenv-darwin' from 'https://cache.nixos.org'...
copying path '/nix/store/kr61k5a5nriph765rvlfzjgfccgbypv8-bash-interactive-4.4-p23-info' from 'https://cache.nixos.org'...
copying path '/nix/store/af6ckm7i321gayikajgp91xjbgdzynh5-bash-interactive-4.4-p23-man' from 'https://cache.nixos.org'...
copying path '/nix/store/yrf8646j2nh298jcdr2fi788sqjs0h83-nss-cacert-3.38' from 'https://cache.nixos.org'...
copying path '/nix/store/1y0s1g7xg8fl8y0a9g2q6dcp05ap2mi5-DarwinTools-1' from 'https://cache.nixos.org'...
copying path '/nix/store/c5a3d01x5n14f97hr2ni45z39cbqm6hk-perl-5.28.0' from 'https://cache.nixos.org'...
copying path '/nix/store/0smv1fpqv12ih7wgq38xi8ivm2r6703s-gettext-0.19.8.1' from 'https://cache.nixos.org'...
copying path '/nix/store/bz05qzbykfbplqdz0ka1djkwcmlzi9sb-readline-7.0p5' from 'https://cache.nixos.org'...
building '/nix/store/sxaq49wacsvqd9cxl9jkbgypfzsrizp3-activate-system-start.drv'...
building '/nix/store/865w8xvrsqkj8vih6k7xlqlaz38b6sbr-darwin-option.drv'...
building '/nix/store/7bcbrlncvkg9v4dvrp5544iyifirwy1d-darwin-rebuild.drv'...
building '/nix/store/3yif0255sshd3kiswf5q2zf7mdpqv2ii-etc-ssh_known_hosts.drv'...
building '/nix/store/g55b715ympl1a2wivi05xknfy98cgnfw-nix.conf.drv'...
copying path '/nix/store/1sc3v9iavzqbfw9b3aj818mmdzig9k65-nix-info' from 'https://cache.nixos.org'...
copying path '/nix/store/g2cglva2w6alp5dq6hkdswljdvqcx8vi-bash-interactive-4.4-p23' from 'https://cache.nixos.org'...
building '/nix/store/shimjdnnm4i6cbqwsynl0j5qhv5dv3q6-org.nixos.activate-system.plist.drv'...
building '/nix/store/0sx9m9iwvcllliypjhijx2mmbzhg7f1m-launchd.drv'...
copying path '/nix/store/zvllnaz3rrszksfzjm8rw3jqwzn3j8vq-vim-8.1.0348' from 'https://cache.nixos.org'...
building '/nix/store/zwqd04zq4b8h6s2p73nxggzhwjxz760y-etc-bashrc.drv'...
building '/nix/store/kcg1skmhr669x97xhdr495b28jyzx82w-etc.drv'...
copying path '/nix/store/ja7bfv721yi8d03wlypqshax6d0j2ac5-texinfo-interactive-6.5' from 'https://cache.nixos.org'...
building '/nix/store/brxaz73n26qpxr0ams0l2h4a301j8vn8-system-applications.drv'...
building '/nix/store/aykd00wy58ygirgydh9cqyjng9jzvaz2-system-path.drv'...
created 0 symlinks in user environment
created 131 symlinks in user environment
building '/nix/store/wpk2jlffh68m5njwl174irvf4j1qbfl4-darwin-system-19.03pre-git.drv'...
building the system configuration...
==> /tmp/apply.stdout <==
setting up /run...
==> /tmp/apply.stderr <==
error: Directory /run does not exist, aborting activation
Create a symlink to /var/run with:
sudo ln -s private/var/run /run
+ finish
+ cd /
+ umount /Volumes/CONFIG
umount(/Volumes/CONFIG): Resource busy -- try 'diskutil unmount'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment