Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ./install --daemon
- Note: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installation
- \e[1;31mSwitching to the Daemon-based Installer\e[0m
- 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
- /root
- - back up /etc/profile.d/nix.sh to /etc/profile.d/nix.sh.backup-before-nix
- - update /etc/profile.d/nix.sh to include some Nix configuration
- - load and start a service (at /etc/systemd/system/nix-daemon.service
- and /etc/systemd/system/nix-daemon.socket) 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!
- grep: /etc/profile.d/nix.sh: Permission denied
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo test -e /root/.nix-defexpr
- making sure that /root/.nix-defexpr doesn't exist
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo test -e /root/.nix-channels
- making sure that /root/.nix-channels doesn't exist
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo test -e /root/.nix-profile
- making sure that /root/.nix-profile doesn't exist
- ---- Nix config report ---------------------------------------------------------
- Temp Dir: /tmp/tmp.Jvngz41biP
- 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
- Exists: Yes
- ~~> Setting up the build user nixbld1
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 1 nixbld1
- in order to give nixbld1 a useful comment
- usermod: no changes
- Note: Nix build user 1
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld2
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 2 nixbld2
- in order to give nixbld2 a useful comment
- usermod: no changes
- Note: Nix build user 2
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld3
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 3 nixbld3
- in order to give nixbld3 a useful comment
- usermod: no changes
- Note: Nix build user 3
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld4
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 4 nixbld4
- in order to give nixbld4 a useful comment
- usermod: no changes
- Note: Nix build user 4
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld5
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 5 nixbld5
- in order to give nixbld5 a useful comment
- usermod: no changes
- Note: Nix build user 5
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld6
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 6 nixbld6
- in order to give nixbld6 a useful comment
- usermod: no changes
- Note: Nix build user 6
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld7
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 7 nixbld7
- in order to give nixbld7 a useful comment
- usermod: no changes
- Note: Nix build user 7
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld8
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 8 nixbld8
- in order to give nixbld8 a useful comment
- usermod: no changes
- Note: Nix build user 8
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld9
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 9 nixbld9
- in order to give nixbld9 a useful comment
- usermod: no changes
- Note: Nix build user 9
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld10
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 10 nixbld10
- in order to give nixbld10 a useful comment
- usermod: no changes
- Note: Nix build user 10
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld11
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 11 nixbld11
- in order to give nixbld11 a useful comment
- usermod: no changes
- Note: Nix build user 11
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld12
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 12 nixbld12
- in order to give nixbld12 a useful comment
- usermod: no changes
- Note: Nix build user 12
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld13
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 13 nixbld13
- in order to give nixbld13 a useful comment
- usermod: no changes
- Note: Nix build user 13
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld14
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 14 nixbld14
- in order to give nixbld14 a useful comment
- usermod: no changes
- Note: Nix build user 14
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld15
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 15 nixbld15
- in order to give nixbld15 a useful comment
- usermod: no changes
- Note: Nix build user 15
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld16
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 16 nixbld16
- in order to give nixbld16 a useful comment
- usermod: no changes
- Note: Nix build user 16
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld17
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 17 nixbld17
- in order to give nixbld17 a useful comment
- usermod: no changes
- Note: Nix build user 17
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld18
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 18 nixbld18
- in order to give nixbld18 a useful comment
- usermod: no changes
- Note: Nix build user 18
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld19
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 19 nixbld19
- in order to give nixbld19 a useful comment
- usermod: no changes
- Note: Nix build user 19
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld20
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 20 nixbld20
- in order to give nixbld20 a useful comment
- usermod: no changes
- Note: Nix build user 20
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld21
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 21 nixbld21
- in order to give nixbld21 a useful comment
- usermod: no changes
- Note: Nix build user 21
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld22
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 22 nixbld22
- in order to give nixbld22 a useful comment
- usermod: no changes
- Note: Nix build user 22
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld23
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 23 nixbld23
- in order to give nixbld23 a useful comment
- usermod: no changes
- Note: Nix build user 23
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld24
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 24 nixbld24
- in order to give nixbld24 a useful comment
- usermod: no changes
- Note: Nix build user 24
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld25
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 25 nixbld25
- in order to give nixbld25 a useful comment
- usermod: no changes
- Note: Nix build user 25
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld26
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 26 nixbld26
- in order to give nixbld26 a useful comment
- usermod: no changes
- Note: Nix build user 26
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld27
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 27 nixbld27
- in order to give nixbld27 a useful comment
- usermod: no changes
- Note: Nix build user 27
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld28
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 28 nixbld28
- in order to give nixbld28 a useful comment
- usermod: no changes
- Note: Nix build user 28
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld29
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 29 nixbld29
- in order to give nixbld29 a useful comment
- usermod: no changes
- Note: Nix build user 29
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld30
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 30 nixbld30
- in order to give nixbld30 a useful comment
- usermod: no changes
- Note: Nix build user 30
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld31
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 31 nixbld31
- in order to give nixbld31 a useful comment
- usermod: no changes
- Note: Nix build user 31
- Logins Disabled: Yes
- Member of nixbld: Yes
- PrimaryGroupID: 30000
- ~~> Setting up the build user nixbld32
- Exists: Yes
- Hidden: Yes
- Home Directory: /var/empty
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo usermod --comment Nix build user 32 nixbld32
- in order to give nixbld32 a useful comment
- usermod: no changes
- Note: Nix build user 32
- Logins Disabled: Yes
- Member of nixbld: Yes
- 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
- to make the basic directory structure of Nix (part 1)
- mkdir: created directory '/nix'
- mkdir: created directory '/nix/var'
- mkdir: created directory '/nix/var/log'
- mkdir: created directory '/nix/var/log/nix'
- mkdir: created directory '/nix/var/log/nix/drvs'
- mkdir: created directory '/nix/var/nix'
- mkdir: created directory '/nix/var/nix/db'
- mkdir: created directory '/nix/var/nix/gcroots'
- mkdir: created directory '/nix/var/nix/profiles'
- mkdir: created directory '/nix/var/nix/temproots'
- mkdir: created directory '/nix/var/nix/userpool'
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo mkdir -pv -m 1777 /nix/var/nix/gcroots/per-user /nix/var/nix/profiles/per-user
- to make the basic directory structure of Nix (part 2)
- mkdir: created directory '/nix/var/nix/gcroots/per-user'
- mkdir: created directory '/nix/var/nix/profiles/per-user'
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo mkdir -pv -m 1775 /nix/store
- to make the basic directory structure of Nix (part 3)
- mkdir: created directory '/nix/store'
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo chgrp nixbld /nix/store
- to make the basic directory structure of Nix (part 4)
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo mkdir -pv -m 0755 /nix/var/nix/profiles/per-user/root
- to set up the root user's profile (part 1)
- mkdir: created directory '/nix/var/nix/profiles/per-user/root'
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo mkdir -pv -m 0700 /root/.nix-defexpr
- to set up the root user's profile (part 2)
- mkdir: created directory '/root/.nix-defexpr'
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo mkdir -pv -m 0555 /etc/nix
- to place the default nix daemon configuration (part 1)
- mkdir: created directory '/etc/nix'
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo install -m 0664 /tmp/tmp.Jvngz41biP/.nix-channels /root/.nix-channels
- to set up the default system channel (part 1)
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo rsync -rlpt ./store/07cvl3wrpwx5vgw6w5q2avn39qad8yp6-libatomic_ops-7.6.4 ./store/3kzrxhyp633qm4w532jd2qjv8rfvgjhx-bzip2-1.0.6.0.1-bin ./store/3s920c43pgzi6vdabjs90in308jnbckv-zlib-1.2.11 ./store/5dwhxf03d9lsmkpfjjrhvm0c1k15v1qi-libsodium-1.0.16 ./store/68z2cvbzws1pn0z8dhgfkmws75r2z7gm-coreutils-8.29 ./store/7gx4kiv5m0i7d7qkixq2cwzbr10lvxwc-glibc-2.27 ./store/878k17l717kg46zi5mzlkj2i9jl13z7m-boehm-gc-7.6.6 ./store/ah8z1r2iim5dz9gzg530xihjh6417shq-xz-5.2.4 ./store/b9p787yqaqi313l9rr0491igjwyzqfmw-bash-4.4-p23 ./store/bp9i6x5f3hvh2qh049ffsihslz1kf45m-libkrb5-1.15.2 ./store/d8wjq00p656k6r9d2dzgsy2pgfcq4f6p-libssh2-1.8.1 ./store/di0sc0zjv6chdmbahifi88zm29j550x0-keyutils-1.5.10-lib ./store/hbhdjn5ik3byg642d1m11k3k3s0kn3py-nix-2.2.2 ./store/ljfcm34fyc7lmanabr7234lzq0kphx7f-editline-1.15.3 ./store/m1fzwxsz41m0wdsc3cbzci0ikkf25g9c-brotli-1.0.5-lib ./store/mvkp369654qs0k40n2apd7zfaqw0kvy2-bzip2-1.0.6.0.1 ./store/n0cblhvs1b5vgpiq282ypwk84kch719w-curl-7.64.0 ./store/n8v50b5qczjvsa5hgl41iccqk51xh2r0-xz-5.2.4-bin ./store/n9w6xkk15nkpslvzhwrpi90pv3kkdal6-gnutar-1.30 ./store/nphkncwpw9l39rcn4yj08yqzm681dg2p-attr-2.4.47 ./store/p1n5m7xp9b3pxs30ry5anzq4ql7zxmly-gzip-1.9 ./store/pk7g0dbrz5yi53ywssc3b316l5zp1wzi-busybox-1.29.3 ./store/qh3pn6d1a6m31kb385pzi7vagwcbwayq-gcc-7.3.0-lib ./store/qlp3gx3zyqryj0kq2ngrwfcpv9k7rrg8-aws-sdk-cpp-1.5.17 ./store/r5fswdfnwdzy8cf996hqnrrxvwm48qhv-sqlite-3.26.0 ./store/rb2z41k2rnq7abzklsbi457wd3hg242y-acl-2.2.52 ./store/rikxx4wdaj7b4qp1lizzmn7884hh537k-nss-cacert-3.42 ./store/rv9ciim9n00jiylb17j1w3wn1nsrz88m-nghttp2-1.32.0-lib ./store/x36nlm3ndxfhnli8c8y3ydh78cpzpf09-openssl-1.0.2r ./store/y0d2h6csi3ai7b2a3nkx7m8nq10i0hk1-libseccomp-2.3.3-lib /nix/store/
- to copy the basic Nix files to the new store at /nix/store
- Alright! We have our first nix at /nix/store/hbhdjn5ik3byg642d1m11k3k3s0kn3py-nix-2.2.2
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo /nix/store/hbhdjn5ik3byg642d1m11k3k3s0kn3py-nix-2.2.2/bin/nix-store --init
- to initialize the Nix Database
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo /nix/store/hbhdjn5ik3byg642d1m11k3k3s0kn3py-nix-2.2.2/bin/nix-store --load-db
- to load data for the first time in to the Nix Database
- Just finished getting the nix database ready.
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo touch /etc/profile.d/nix.sh
- create a stub /etc/profile.d/nix.sh which will be updated
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo cp /etc/profile.d/nix.sh /etc/profile.d/nix.sh.backup-before-nix
- to back up your current /etc/profile.d/nix.sh to /etc/profile.d/nix.sh.backup-before-nix
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo tee -a /etc/profile.d/nix.sh
- extend your /etc/profile.d/nix.sh with nix-daemon settings
- # Nix
- if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
- . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
- fi
- # End Nix
- ---- sudo execution ------------------------------------------------------------
- I am executing:
- $ sudo HOME=/root /nix/store/hbhdjn5ik3byg642d1m11k3k3s0kn3py-nix-2.2.2/bin/nix-env -i /nix/store/hbhdjn5ik3byg642d1m11k3k3s0kn3py-nix-2.2.2
- to installing a bootstrapping Nix in to the default Profile
- installing 'nix-2.2.2'
- building '/nix/store/2c4l83wkdfrj7ra9k07l0aqvym1d5z20-user-environment.drv'...
- error: opening directory '/nix/store/hbhdjn5ik3byg642d1m11k3k3s0kn3py-nix-2.2.2': Permission denied
- builder for '/nix/store/2c4l83wkdfrj7ra9k07l0aqvym1d5z20-user-environment.drv' failed with exit code 1
- error: build of '/nix/store/2c4l83wkdfrj7ra9k07l0aqvym1d5z20-user-environment.drv' failed
- ---- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement