Created
April 2, 2020 15:29
-
-
Save KoviRobi/a748ad1c5f6a5bd3d09db10e38644c23 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
downloading Nix 2.3.3 binary tarball for x86_64-linux from 'https://nixos.org/releases/nix/nix-2.3.3/nix-2.3.3-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.DNen1PENRW'... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 86 100 86 0 0 858 0 --:--:-- --:--:-- --:--:-- 860 | |
100 16.4M 100 16.4M 0 0 95.5M 0 --:--:-- --:--:-- --:--:-- 95.5M | |
Note: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installation | |
[1;31mSwitching to the Daemon-based Installer[0m | |
[38;32mWelcome to the Multi-User Nix Installation | |
[0m | |
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. | |
[38;32m[38;4;32mWould you like to see a more detailed list of what we will do? | |
[0m[y/n] | |
[38;34m---- let's talk about sudo ----------------------------------------------------- | |
[0mThis 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: | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI 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: | |
[38;32m[38;4;32mCan we use sudo? | |
[0m[y/n] | |
[38;32mYay! Thanks! Let's get going! | |
[0m | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo test -e /root/.nix-defexpr | |
making sure that /root/.nix-defexpr doesn't exist | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo test -e /root/.nix-channels | |
making sure that /root/.nix-channels doesn't exist | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo test -e /root/.nix-profile | |
making sure that /root/.nix-profile doesn't exist | |
[38;34m---- Nix config report --------------------------------------------------------- | |
[0m[38;1m Temp Dir[0m: /tmp/tmp.sd37HTCYB2 | |
[38;1m Nix Root[0m: /nix | |
[38;1m Build Users[0m: 32 | |
[38;1m Build Group ID[0m: 30000 | |
[38;1mBuild Group Name[0m: nixbld | |
[38;4;34mbuild users: | |
[0m[38;1m Username[0m: UID | |
[38;1m nixbld1[0m: 30001 | |
[38;1m nixbld2[0m: 30002 | |
[38;1m nixbld3[0m: 30003 | |
[38;1m nixbld4[0m: 30004 | |
[38;1m nixbld5[0m: 30005 | |
[38;1m nixbld6[0m: 30006 | |
[38;1m nixbld7[0m: 30007 | |
[38;1m nixbld8[0m: 30008 | |
[38;1m nixbld9[0m: 30009 | |
[38;1m nixbld10[0m: 30010 | |
[38;1m nixbld11[0m: 30011 | |
[38;1m nixbld12[0m: 30012 | |
[38;1m nixbld13[0m: 30013 | |
[38;1m nixbld14[0m: 30014 | |
[38;1m nixbld15[0m: 30015 | |
[38;1m nixbld16[0m: 30016 | |
[38;1m nixbld17[0m: 30017 | |
[38;1m nixbld18[0m: 30018 | |
[38;1m nixbld19[0m: 30019 | |
[38;1m nixbld20[0m: 30020 | |
[38;1m nixbld21[0m: 30021 | |
[38;1m nixbld22[0m: 30022 | |
[38;1m nixbld23[0m: 30023 | |
[38;1m nixbld24[0m: 30024 | |
[38;1m nixbld25[0m: 30025 | |
[38;1m nixbld26[0m: 30026 | |
[38;1m nixbld27[0m: 30027 | |
[38;1m nixbld28[0m: 30028 | |
[38;1m nixbld29[0m: 30029 | |
[38;1m nixbld30[0m: 30030 | |
[38;1m nixbld31[0m: 30031 | |
[38;1m nixbld32[0m: 30032 | |
[38;32m[38;4;32mReady to continue? | |
[0m[y/n] | |
[38;32m~~> Setting up the build group nixbld | |
[0m[38;1m Exists[0m: Yes | |
[38;32m~~> Setting up the build user nixbld1 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 1 nixbld1 | |
in order to give nixbld1 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 1 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld2 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 2 nixbld2 | |
in order to give nixbld2 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 2 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld3 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 3 nixbld3 | |
in order to give nixbld3 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 3 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld4 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 4 nixbld4 | |
in order to give nixbld4 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 4 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld5 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 5 nixbld5 | |
in order to give nixbld5 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 5 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld6 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 6 nixbld6 | |
in order to give nixbld6 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 6 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld7 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 7 nixbld7 | |
in order to give nixbld7 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 7 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld8 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 8 nixbld8 | |
in order to give nixbld8 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 8 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld9 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 9 nixbld9 | |
in order to give nixbld9 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 9 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld10 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 10 nixbld10 | |
in order to give nixbld10 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 10 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld11 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 11 nixbld11 | |
in order to give nixbld11 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 11 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld12 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 12 nixbld12 | |
in order to give nixbld12 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 12 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld13 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 13 nixbld13 | |
in order to give nixbld13 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 13 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld14 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 14 nixbld14 | |
in order to give nixbld14 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 14 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld15 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 15 nixbld15 | |
in order to give nixbld15 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 15 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld16 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 16 nixbld16 | |
in order to give nixbld16 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 16 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld17 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 17 nixbld17 | |
in order to give nixbld17 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 17 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld18 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 18 nixbld18 | |
in order to give nixbld18 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 18 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld19 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 19 nixbld19 | |
in order to give nixbld19 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 19 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld20 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 20 nixbld20 | |
in order to give nixbld20 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 20 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld21 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 21 nixbld21 | |
in order to give nixbld21 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 21 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld22 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 22 nixbld22 | |
in order to give nixbld22 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 22 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld23 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 23 nixbld23 | |
in order to give nixbld23 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 23 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld24 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 24 nixbld24 | |
in order to give nixbld24 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 24 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld25 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 25 nixbld25 | |
in order to give nixbld25 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 25 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld26 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 26 nixbld26 | |
in order to give nixbld26 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 26 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld27 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 27 nixbld27 | |
in order to give nixbld27 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 27 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld28 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 28 nixbld28 | |
in order to give nixbld28 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 28 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld29 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 29 nixbld29 | |
in order to give nixbld29 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 29 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld30 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 30 nixbld30 | |
in order to give nixbld30 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 30 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld31 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 31 nixbld31 | |
in order to give nixbld31 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 31 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;32m~~> Setting up the build user nixbld32 | |
[0m[38;1m Exists[0m: Yes | |
[38;1m Hidden[0m: Yes | |
[38;1m Home Directory[0m: /var/empty | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo usermod --comment Nix build user 32 nixbld32 | |
in order to give nixbld32 a useful comment | |
usermod: no changes | |
[38;1m Note[0m: Nix build user 32 | |
[38;1m Logins Disabled[0m: Yes | |
[38;1m Member of nixbld[0m: Yes | |
[38;1m PrimaryGroupID[0m: 30000 | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI 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: 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’ | |
mkdir: created directory ‘/nix/var/nix/gcroots/per-user’ | |
mkdir: created directory ‘/nix/var/nix/profiles/per-user’ | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo mkdir -pv -m 1775 /nix/store | |
to make the basic directory structure of Nix (part 2) | |
mkdir: created directory ‘/nix/store’ | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo chgrp nixbld /nix/store | |
to make the basic directory structure of Nix (part 3) | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo mkdir -pv -m 0555 /etc/nix | |
to place the default nix daemon configuration (part 1) | |
mkdir: created directory ‘/etc/nix’ | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo install -m 0664 /tmp/tmp.sd37HTCYB2/.nix-channels /root/.nix-channels | |
to set up the default system channel (part 1) | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo rsync -rlpt ./store/02aq3pykvpwhgns18f9dp6m807i7yxqg-keyutils-1.6.1-lib ./store/03s8kyhbfmsls4vb6m4w6rhblm6scz2f-editline-1.17.0 ./store/1h87p7z1m6zcmx62wr5d2wjr6m9yrsr4-curl-7.68.0 ./store/3cl3k3paa6fm23r9v3yv8zawjn7gdy22-bzip2-1.0.6.0.1 ./store/3qgg8xzdyfd7nql0qlkb1xpnrfz4k1s2-coreutils-8.31 ./store/3yc40x5adwgc2wmzn7gd9kjhcwbq45in-gcc-9.2.0-lib ./store/4ib6spndkf8acwzp42xjygwbliq6j3h9-gzip-1.10 ./store/6566wp1fvzbdy242czysqyg8l7wxn9im-nss-cacert-3.49.2 ./store/7vvnqd0wbn47kdlp1s51i7ajc9fsiamj-libkrb5-1.17 ./store/828g2nqfgivscv79xykkmgjk0znll08l-bash-4.4-p23 ./store/86p38lq2y9a57j1yi8zkfy9xp6avsgny-brotli-1.0.7-lib ./store/8xv25wa1q2lwi6dvkljjk5ylkvag4ma4-nghttp2-1.40.0-lib ./store/aiy49qhngvn3krlhacbxgrxmnq9hq548-zlib-1.2.11 ./store/c0b76xh2za9r9r4b0g3iv4x2lkw1zzcn-aws-sdk-cpp-1.7.90 ./store/cry6r9wiijkfwz5fjyfbw75grrn9c9sd-boehm-gc-8.0.4-dev ./store/ddmmzn4ggz1f66lwxjy64n89864yj9w9-nix-2.3.3 ./store/gkbbm7f115gx0nmj12l7nx3ksmz6sw14-aws-c-event-stream-0.1.1 ./store/h7hndqlfc2779q7pbcjr1gax8gc4xica-xz-5.2.4 ./store/hjng28vbd73qq9iz9j8r397x19aa8fp9-libidn2-2.3.0 ./store/hzdn6id43w1xxp30xr3h1q2xqkxbw29n-sqlite-3.30.1 ./store/i7z20d9jnjjbz0ynlm2dfg672h4zjnvd-xz-5.2.4-bin ./store/jc8v38m7scsa31fwpp408p2n6b37m37v-aws-checksums-0.1.5 ./store/jm3dnw9d4jp5l7x9qy9axf444fz7k6gw-boehm-gc-8.0.4 ./store/kx5vsysj0d0wa40j2w7fmaddf00wlhlq-acl-2.2.53 ./store/lbpdypcp87f19zc4z29crcnfxfg17qgg-libseccomp-2.4.2-lib ./store/lpafwjjy5q5xni9b2r66gj4zyfbkaifv-aws-c-common-0.3.11 ./store/m39n9phm3c0ximcsw1ngpjjw92iywcyw-openssl-1.1.1d ./store/mbmwmq05laqrpnagg4ybb96slzg3yil4-attr-2.4.48 ./store/mxaxvp33wg9sim8qh2kkw041v492bvxj-libunistring-0.9.10 ./store/sc7lh1dhvd7fg28d7dxwsqzfcinnr6j5-glibc-2.30 ./store/x49zm66i7v2mcj71ppd459hmhllydapc-gnutar-1.32 ./store/x9iaylq3f8r5y4z7bbgi76dnabh370bi-bzip2-1.0.6.0.1-bin ./store/xddd6aw9fcca0rilnpc0mkf78ax23h3v-libssh2-1.9.0 ./store/ya2xrk06bjj52s5jcv5yyx5hjnxjjjak-libsodium-1.0.18 ./store/zvilp79l6g6a0ngk9pj5vbk3j7jzkkda-busybox-1.31.1-x86_64-unknown-linux-musl /nix/store/ | |
to copy the basic Nix files to the new store at /nix/store | |
Alright! We have our first nix at /nix/store/ddmmzn4ggz1f66lwxjy64n89864yj9w9-nix-2.3.3 | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo /nix/store/ddmmzn4ggz1f66lwxjy64n89864yj9w9-nix-2.3.3/bin/nix-store --load-db | |
to load data for the first time in to the Nix Database | |
Just finished getting the nix database ready. | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo touch /etc/profile.d/nix.sh | |
create a stub /etc/profile.d/nix.sh which will be updated | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo cp /etc/bashrc /etc/bashrc.backup-before-nix | |
to back up your current /etc/bashrc to /etc/bashrc.backup-before-nix | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo tee -a /etc/bashrc | |
extend your /etc/bashrc 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 | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI 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 | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI 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 | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo HOME=/root /nix/store/ddmmzn4ggz1f66lwxjy64n89864yj9w9-nix-2.3.3/bin/nix-env -i /nix/store/ddmmzn4ggz1f66lwxjy64n89864yj9w9-nix-2.3.3 | |
to installing a bootstrapping Nix in to the default Profile | |
installing 'nix-2.3.3' | |
building '/nix/store/pgdgr848xbfqkp8ckxziv88vs73hnm17-user-environment.drv'... | |
created 6 symlinks in user environment | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo HOME=/root /nix/store/ddmmzn4ggz1f66lwxjy64n89864yj9w9-nix-2.3.3/bin/nix-env -i /nix/store/6566wp1fvzbdy242czysqyg8l7wxn9im-nss-cacert-3.49.2 | |
to installing a bootstrapping SSL certificate just for Nix in to the default Profile | |
installing 'nss-cacert-3.49.2' | |
building '/nix/store/dg4nq5prpkjaphgkvc8wh67l197gvh6i-user-environment.drv'... | |
created 9 symlinks in user environment | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo HOME=/root NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt /nix/store/ddmmzn4ggz1f66lwxjy64n89864yj9w9-nix-2.3.3/bin/nix-channel --update nixpkgs | |
to update the default channel in the default profile | |
unpacking channels... | |
created 1 symlinks in user environment | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo install -m 0664 /tmp/tmp.sd37HTCYB2/nix.conf /etc/nix/nix.conf | |
to place the default nix daemon configuration (part 2) | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo systemctl link /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.service | |
to set up the nix-daemon service | |
Created symlink from /etc/systemd/system/nix-daemon.service to /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.service. | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo systemctl enable /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.socket | |
to set up the nix-daemon socket service | |
Created symlink from /etc/systemd/system/sockets.target.wants/nix-daemon.socket to /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.socket. | |
Created symlink from /etc/systemd/system/nix-daemon.socket to /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.socket. | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo systemctl daemon-reload | |
to load the systemd unit for nix-daemon | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo systemctl start nix-daemon.socket | |
to start the nix-daemon.socket | |
[38;34m---- sudo execution ------------------------------------------------------------ | |
[0mI am executing: | |
$ sudo systemctl start nix-daemon.service | |
to start the nix-daemon.service | |
[38;32mAlright! We're done! | |
[0m | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is with the fix of