はじめに
Nix
パッケージマネージャを使ってみたかったのでWSL2
のUbuntu 24.04 LTS
に入れてみた。
環境
Windows 11 Professional
WSL2 Ubuntu 24.04 LTS
インストール
- Nix : the package manager
https://nixos.org/download/
に従ってインストールを行う。
WSL バージョン 0.67.6 以降では systemd がサポートされているので、systemd
を有効にしておく。
※以前の記事、WSL2でsystemdを有効にするで実施済み。
sh <(curl -L https://nixos.org/nix/install) --daemon
ログ
~ sh <(curl -L https://nixos.org/nix/install) --daemon ✔ │ 1m 26s │ 08:54:55
% 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 4267 100 4267 0 0 7710 0 --:--:-- --:--:-- --:--:-- 7710
downloading Nix 2.25.3 binary tarball for x86_64-linux from 'https://releases.nixos.org/nix/nix-2.25.3/nix-2.25.3-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.SAJ9pFifPa'...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22.5M 100 22.5M 0 0 71.1M 0 --:--:-- --:--:-- --:--:-- 71.2M
Note: a multi-user installation is possible. See https://nixos.org/manual/nix/stable/installation/installing-binary.html#multi-user-installation
Switching to the Multi-user 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 install.
2. Show you what I am going to install and where. Then I will ask
if you are ready to continue.
3. Create the system users (uids [30001..30032]) and groups (gid 30000)
that the Nix daemon uses to run builds. To create system users
in a different range, exit and run this tool again with
NIX_FIRST_BUILD_UID set.
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 I will do?
[y/n] y
I 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 I'll make)
- create a local group (nixbld)
- install Nix in /nix
- create a configuration file in /etc/nix
- set up the "default profile" by creating some Nix-related files in
/root
- back up /etc/bash.bashrc to /etc/bash.bashrc.backup-before-nix
- update /etc/bash.bashrc to include some Nix configuration
- back up /etc/zsh/zshrc to /etc/zsh/zshrc.backup-before-nix
- update /etc/zsh/zshrc 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 I 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. I 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 I use sudo?
[y/n] y
Yay! Thanks! Let's get going!
~~> Checking for artifacts of previous installs
Before I try to install, I'll check for signs Nix already is or has
been installed on this system.
---- Nix config report ---------------------------------------------------------
Temp Dir: /tmp/tmp.rZpCmtFG56
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 groupadd -g 30000 --system nixbld
Create the Nix build group, nixbld
[sudo] password for kbushi:
Created: Yes
~~> Setting up the build user nixbld1
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 1 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30001 --password ! nixbld1
Creating the Nix build user, nixbld1
useradd warning: nixbld1's uid 30001 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 2 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30002 --password ! nixbld2
Creating the Nix build user, nixbld2
useradd warning: nixbld2's uid 30002 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 3 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30003 --password ! nixbld3
Creating the Nix build user, nixbld3
useradd warning: nixbld3's uid 30003 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 4 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30004 --password ! nixbld4
Creating the Nix build user, nixbld4
useradd warning: nixbld4's uid 30004 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 5 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30005 --password ! nixbld5
Creating the Nix build user, nixbld5
useradd warning: nixbld5's uid 30005 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 6 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30006 --password ! nixbld6
Creating the Nix build user, nixbld6
useradd warning: nixbld6's uid 30006 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 7 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30007 --password ! nixbld7
Creating the Nix build user, nixbld7
useradd warning: nixbld7's uid 30007 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 8 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30008 --password ! nixbld8
Creating the Nix build user, nixbld8
useradd warning: nixbld8's uid 30008 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 9 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30009 --password ! nixbld9
Creating the Nix build user, nixbld9
useradd warning: nixbld9's uid 30009 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 10 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30010 --password ! nixbld10
Creating the Nix build user, nixbld10
useradd warning: nixbld10's uid 30010 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 11 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30011 --password ! nixbld11
Creating the Nix build user, nixbld11
useradd warning: nixbld11's uid 30011 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 12 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30012 --password ! nixbld12
Creating the Nix build user, nixbld12
useradd warning: nixbld12's uid 30012 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 13 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30013 --password ! nixbld13
Creating the Nix build user, nixbld13
useradd warning: nixbld13's uid 30013 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 14 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30014 --password ! nixbld14
Creating the Nix build user, nixbld14
useradd warning: nixbld14's uid 30014 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 15 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30015 --password ! nixbld15
Creating the Nix build user, nixbld15
useradd warning: nixbld15's uid 30015 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 16 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30016 --password ! nixbld16
Creating the Nix build user, nixbld16
useradd warning: nixbld16's uid 30016 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 17 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30017 --password ! nixbld17
Creating the Nix build user, nixbld17
useradd warning: nixbld17's uid 30017 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 18 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30018 --password ! nixbld18
Creating the Nix build user, nixbld18
useradd warning: nixbld18's uid 30018 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 19 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30019 --password ! nixbld19
Creating the Nix build user, nixbld19
useradd warning: nixbld19's uid 30019 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 20 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30020 --password ! nixbld20
Creating the Nix build user, nixbld20
useradd warning: nixbld20's uid 30020 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 21 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30021 --password ! nixbld21
Creating the Nix build user, nixbld21
useradd warning: nixbld21's uid 30021 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 22 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30022 --password ! nixbld22
Creating the Nix build user, nixbld22
useradd warning: nixbld22's uid 30022 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 23 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30023 --password ! nixbld23
Creating the Nix build user, nixbld23
useradd warning: nixbld23's uid 30023 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 24 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30024 --password ! nixbld24
Creating the Nix build user, nixbld24
useradd warning: nixbld24's uid 30024 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 25 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30025 --password ! nixbld25
Creating the Nix build user, nixbld25
useradd warning: nixbld25's uid 30025 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 26 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30026 --password ! nixbld26
Creating the Nix build user, nixbld26
useradd warning: nixbld26's uid 30026 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 27 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30027 --password ! nixbld27
Creating the Nix build user, nixbld27
useradd warning: nixbld27's uid 30027 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 28 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30028 --password ! nixbld28
Creating the Nix build user, nixbld28
useradd warning: nixbld28's uid 30028 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 29 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30029 --password ! nixbld29
Creating the Nix build user, nixbld29
useradd warning: nixbld29's uid 30029 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 30 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30030 --password ! nixbld30
Creating the Nix build user, nixbld30
useradd warning: nixbld30's uid 30030 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 31 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30031 --password ! nixbld31
Creating the Nix build user, nixbld31
useradd warning: nixbld31's uid 30031 is greater than SYS_UID_MAX 999
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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo useradd --home-dir /var/empty --comment Nix build user 32 --gid 30000 --groups nixbld --no-user-group --system --shell /sbin/nologin --uid 30032 --password ! nixbld32
Creating the Nix build user, nixbld32
useradd warning: nixbld32's uid 30032 is greater than SYS_UID_MAX 999
Created: Yes
Hidden: Yes
Home Directory: /var/empty
Note: Nix build user 32
Logins Disabled: Yes
Member of nixbld: Yes
PrimaryGroupID: 30000
~~> Setting up the basic directory structure
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -dv -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/daemon-socket /nix/var/nix/gcroots/per-user /nix/var/nix/profiles/per-user
to make the basic directory structure of Nix (part 1)
install: creating directory '/nix'
install: creating directory '/nix/var'
install: creating directory '/nix/var/log'
install: creating directory '/nix/var/log/nix'
install: creating directory '/nix/var/log/nix/drvs'
install: creating directory '/nix/var/nix'
install: creating directory '/nix/var/nix/db'
install: creating directory '/nix/var/nix/gcroots'
install: creating directory '/nix/var/nix/profiles'
install: creating directory '/nix/var/nix/temproots'
install: creating directory '/nix/var/nix/userpool'
install: creating directory '/nix/var/nix/daemon-socket'
install: creating directory '/nix/var/nix/gcroots/per-user'
install: creating directory '/nix/var/nix/profiles/per-user'
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -dv -g nixbld -m 1775 /nix/store
to make the basic directory structure of Nix (part 2)
install: creating directory '/nix/store'
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -dv -m 0555 /etc/nix
to place the default nix daemon configuration (part 1)
install: creating directory '/etc/nix'
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -m 0664 /tmp/tmp.rZpCmtFG56/.nix-channels /root/.nix-channels
to set up the default system channel (part 1)
~~> Installing Nix
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo cp -RPp ./store/0wb2jfh9zcdhh2maw76vrcd69yn56hw2-aws-c-sdkutils-0.1.16 ./store/0wq0r67l1lixwiwb7zyjbpl3yff5nbxw-boehm-gc-8.2.6 ./store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc ./store/2k9k3q1vk8z6w7743k6nb22vnb05xv06-zlib-1.3.1 ./store/2vdxsvrjrf1bgznbb9wga1rshpxc658a-publicsuffix-list-0-unstable-2024-01-07 ./store/39jg2qg6jlfm4hdc8j61d09skxg4gfw0-acl-2.3.2 ./store/3x497rk44p5zpr2vbf155dqw5xfjri1a-nix-2.25.3 ./store/40yjzm7r5ki59kkk9423dnwbm86x7pyd-gcc-13.2.0-lib ./store/503h8rdwzj12dh0fs1b6y643qm26vqsb-libunistring-1.1 ./store/5d4a4am9gb7ia79xfjcdbf2y3b9kwknn-aws-c-event-stream-0.4.2 ./store/5xvdvbb7vzyazmhw57yhwwch8kqwjfyk-aws-c-http-0.8.1 ./store/65ysp6n926dmcxdsg88q4qkw1kid7dih-attr-2.5.2 ./store/852a51xd3m7jyzifqimxc3jf3w2ipc4k-nss-cacert-3.101 ./store/86b4h0x1i310gglrsjrk093l0g2h26pr-aws-sdk-cpp-1.11.318 ./store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52 ./store/8c9vyhad2gxlg4clvaa3zlikv7lsym3s-libsodium-1.0.19 ./store/8ivnsqp0wb8pna7rm31csdcn5aykdkqh-s2n-tls-1.4.12 ./store/96dj8i2gxxn31nw84r94h7bbfbg46rkw-pcre-8.45 ./store/9g700djj7aqgr3fqq5ji9m8w3n5ip75s-xz-5.4.7 ./store/ayndm66jniwbm76kprjjng06r4b7ypbw-keyutils-1.6.3-lib ./store/b5248mzca3qjhjvck1vw3n6gg5mdhkz8-aws-c-common-0.9.17 ./store/bdk3lnfjx46vsh5php2wbxsr9mriyhqb-aws-c-s3-0.5.7 ./store/by2v5cgvm6kkjjfv52fz7vajwgmcfdga-brotli-1.1.0-lib ./store/c46xzl45zg6225nxy780ccm5bzm9bdc4-aws-crt-cpp-0.26.8 ./store/ddzqsmrcpciq7rm4p70ynj3hi07w88kz-libxml2-2.12.7 ./store/dqrip0sx49kz9l6p8smq09aghas49s3b-gcc-13.2.0-libgcc ./store/dyxmqfpx08c2rhxg5kc83qa0qdxhzhfk-aws-c-cal-0.6.12 ./store/f6afb4jw9g5f94ixw0jn6cl0ah4liy35-sqlite-3.45.3 ./store/g0gx36d1l273mzhnz7jmq5vvjf6n9r70-bzip2-1.0.8 ./store/g45c2banpvki32fjydbx3wclgcphmsbs-libpsl-0.21.5 ./store/isqwk2fj3d87ykqkhgr1513jqlrkymr6-lowdown-1.1.0-lib ./store/j8qdcfmjnlqlxk14mh59vcwr6hbznj92-boost-1.81.0 ./store/k52i6nkc80lxr7f2axdrvdp3cbnwxmk7-libgit2-20240516095848-lib ./store/kcc6cnkqm8if32y6hwh9ixpwxba15hkq-nghttp2-1.61.0-lib ./store/kw6idhj5b1pmwjg7rnyvrlhg5ffrn1vs-curl-8.7.1 ./store/m5lk8pdk0sz0pkf3kjzk0j2b7gargzzx-aws-c-compression-0.2.18 ./store/mccadsxm3sgrcx2z0b9c8d5wgnlg7a3z-libarchive-3.7.4-lib ./store/mldkgahcv5kg2kv19dc8zqmz5y702k01-aws-c-io-0.14.7 ./store/p66hqwsh90q1xdb6ss31105rr11s4z9v-busybox-static-x86_64-unknown-linux-musl-1.36.1 ./store/p8pfm2w0sapcyizn9rkgdpllywq05x5n-libseccomp-2.5.5-lib ./store/p95ba37n695180m4vjp4mn3j8vd156jr-libcpuid-0.6.5 ./store/q46sbq9pgf58xb8zx5vlkbv96kidglxc-openssl-3.0.14 ./store/qcwlfkj0yggkfvv43y0bv7wyb35w1dh0-editline-1.17.1 ./store/rpj7hvnzrm4kh45bllm7fgncwmshlhiq-aws-c-mqtt-0.10.4 ./store/wckka8fxv4h5hp74cbkhaw3fw7kbvcs1-bash-5.2p26 ./store/xhd47fvyzk5gds3d6bnnvhfpqd9hrsvp-aws-c-auth-0.7.18 ./store/ya4arqpf6vwbq4msi449314kqbhdb4l4-libidn2-2.3.7 ./store/ydmbcr9ca5sdhvlx8icwvj454xvp6dd8-aws-checksums-0.1.18 ./store/yh9n3w67ivhxkzx9m58cswbaf8nag436-zstd-1.5.6 ./store/z5736fyn17s2mqql62rcznmj5yk5yx15-libkrb5-1.21.3 ./store/zmczdj9cz73g8vfrqkv2hh5fv9achs7v-libssh2-1.11.0 /nix/store/
to copy the basic Nix files to the new store at /nix/store
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo chmod -R ugo-w /nix/store/
to make the new store non-writable at /nix/store
Alright! We have our first nix at /nix/store/3x497rk44p5zpr2vbf155dqw5xfjri1a-nix-2.25.3
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/root /nix/store/3x497rk44p5zpr2vbf155dqw5xfjri1a-nix-2.25.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.
~~> Setting up shell profiles: /etc/bashrc /etc/profile.d/nix.sh /etc/zshrc /etc/bash.bashrc /etc/zsh/zshrc
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo touch /etc/bashrc
to create a stub /etc/bashrc which will be updated
---- sudo execution ------------------------------------------------------------
I 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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo touch /etc/profile.d/nix.sh
to create a stub /etc/profile.d/nix.sh which will be updated
---- 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 touch /etc/zshrc
to create a stub /etc/zshrc which will be updated
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo tee -a /etc/zshrc
extend your /etc/zshrc 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 cp /etc/bash.bashrc /etc/bash.bashrc.backup-before-nix
to back up your current /etc/bash.bashrc to /etc/bash.bashrc.backup-before-nix
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo tee -a /etc/bash.bashrc
extend your /etc/bash.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
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo cp /etc/zsh/zshrc /etc/zsh/zshrc.backup-before-nix
to back up your current /etc/zsh/zshrc to /etc/zsh/zshrc.backup-before-nix
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo tee -a /etc/zsh/zshrc
extend your /etc/zsh/zshrc 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
~~> Setting up shell profiles for Fish with conf.d/nix.fish inside /etc/fish /usr/local/etc/fish /opt/homebrew/etc/fish /opt/local/etc/fish
~~> Setting up the default profile
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/root /nix/store/3x497rk44p5zpr2vbf155dqw5xfjri1a-nix-2.25.3/bin/nix-env -i /nix/store/3x497rk44p5zpr2vbf155dqw5xfjri1a-nix-2.25.3
to install a bootstrapping Nix in to the default profile
installing 'nix-2.25.3'
building '/nix/store/kbi7ymc6vw1vywbwjr54qyl5v14bas06-user-environment.drv'...
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/root /nix/store/3x497rk44p5zpr2vbf155dqw5xfjri1a-nix-2.25.3/bin/nix-env -i /nix/store/852a51xd3m7jyzifqimxc3jf3w2ipc4k-nss-cacert-3.101
to install a bootstrapping SSL certificate just for Nix in to the default profile
installing 'nss-cacert-3.101'
building '/nix/store/145csa0yib2qnw25kfbrvg2sqw15k7b0-user-environment.drv'...
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/root NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt /nix/store/3x497rk44p5zpr2vbf155dqw5xfjri1a-nix-2.25.3/bin/nix-channel --update nixpkgs
to update the default channel in the default profile
unpacking 1 channels...
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -m 0664 /tmp/tmp.rZpCmtFG56/nix.conf /etc/nix/nix.conf
to place the default nix daemon configuration (part 2)
~~> Setting up the nix-daemon systemd service
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo mkdir -p /etc/tmpfiles.d
to create parent of the nix-daemon tmpfiles config
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo ln -sfn /nix/var/nix/profiles/default/lib/tmpfiles.d/nix-daemon.conf /etc/tmpfiles.d/nix-daemon.conf
to create the nix-daemon tmpfiles config
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo systemd-tmpfiles --create --prefix=/nix/var/nix
to run systemd-tmpfiles once to pick that path up
---- sudo execution ------------------------------------------------------------
I 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 /etc/systemd/system/nix-daemon.service → /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.service.
---- sudo execution ------------------------------------------------------------
I 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 /etc/systemd/system/nix-daemon.socket → /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.socket.
Created symlink /etc/systemd/system/sockets.target.wants/nix-daemon.socket → /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.socket.
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo systemctl daemon-reload
to load the systemd unit for nix-daemon
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo systemctl start nix-daemon.socket
to start the nix-daemon.socket
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo systemctl restart nix-daemon.service
to start the nix-daemon.service
Alright! We're done!
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 or need
help, don't hesitate:
You can open an issue at
https://github.com/NixOS/nix/issues/new?labels=installer&template=installer.md
Or get in touch with the community: https://nixos.org/community
---- Reminders -----------------------------------------------------------------
[ 1 ]
Nix won't work in active shell sessions until you restart them.
インストール後の確認
[ 1 ]
Nix won't work in active shell sessions until you restart them.
ということなので、一度ターミナルを再起動する。
再起動後に、下記のコマンドを実行する。
Alright! We're done!
Try it! Open a new terminal, and type:
$ nix-shell -p nix-info --run "nix-info -m"
nix-shell -p nix-info --run "nix-info -m"
ログ
these 49 paths will be fetched (73.71 MiB download, 348.15 MiB unpacked):
/nix/store/nrl5m466dwdscvavf1nqzdnqhszjyy9n-acl-2.3.2
/nix/store/nmq6s9l9zlym3qjx76zzrqbp05a63y90-attr-2.5.2
/nix/store/p6k7xp1lsfmbdd731mlglrdj2d66mr82-bash-5.2p37
/nix/store/f33kh08pa7pmy4kvsmsibda46sh46s66-bash-interactive-5.2p37
/nix/store/bwkb907myixfzzykp21m9iczkhrq5pfy-binutils-2.43.1
/nix/store/2qssg7pjgadwmqns6jm3qlr5bbdl4dcr-binutils-2.43.1-lib
/nix/store/x9as7x6f7cdgcskvvn3yp02m662krr7y-binutils-wrapper-2.43.1
/nix/store/hl3iw85v12gh9mwgvr9yfgjgy0rk81hb-bzip2-1.0.8
/nix/store/vqjygx23hkim1kpidik5xcs9whayf3sr-bzip2-1.0.8-bin
/nix/store/b1wvkjx96i3s7wblz38ya0zr8i93zbc5-coreutils-9.5
/nix/store/cxwsmlr3xh1ml4r0kgdjrknw7504b9f8-diffutils-3.10
/nix/store/k5x874vwcaxlan1cw248lwqr4l4v7hyk-ed-1.20.2
/nix/store/ka4sync4bccr9mz2ys0dbqjn24hp8v57-expand-response-params
/nix/store/g4lksqp6l8qiab4a0as21s6556xh4gyp-file-5.45
/nix/store/w8pnfazxqwmrqmwkb5zrz1bifsd8abxl-findutils-4.10.0
/nix/store/nnin69nrnrrmnv2scbwyfkgh1rf51gh1-gawk-5.3.1
/nix/store/4krab2h0hd4wvxxmscxrw21pl77j4i7j-gcc-13.3.0
/nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib
/nix/store/j8rzqx7farv0w3isp9z943zy437zk02f-gcc-13.3.0-libgcc
/nix/store/4apajimszc47rxwcpvc3g3rj2icinl71-gcc-wrapper-13.3.0
/nix/store/wn7v2vhyyyi6clcyn0s9ixvl7d4d87ic-glibc-2.40-36
/nix/store/zw5haplzbwjgbp3yykhm6iprkpfppzxb-glibc-2.40-36-bin
/nix/store/lw21wr626v5sdcaxxkv2k4zf1121hfc9-glibc-2.40-36-dev
/nix/store/y11zr71f9i1zy1vrdy3kjx8j6slsb3l3-gmp-6.3.0
/nix/store/nxg637az00fnm705pinlrpjac9b4hgsc-gmp-with-cxx-6.3.0
/nix/store/rlnih3wlxxwqn4xdahjgfjydvv78kvki-gnu-config-2024-01-01
/nix/store/85amyk92rg19l4fy0qmy7wr4jmq8p5z0-gnugrep-3.11
/nix/store/9y5kd90fdbrq3r4yc9mpqn82f93zdgyq-gnumake-4.4.1
/nix/store/vmby25zqxnx94awvj0k7zn0rsd0zyrwg-gnused-4.9
/nix/store/zhaypw0znkjnymg0rk1599zn21rr0l50-gnutar-1.35
/nix/store/a7pimibppfw2m3ryijnwwzx76i780bw2-gzip-1.13
/nix/store/xxfkk4gqnaimiwzi6mmsmcs9bl2r8y7f-isl-0.20
/nix/store/qwjjm4j652ck9izaid7bz63s4hd5bnha-libidn2-2.3.7
/nix/store/0qqs7bkfk21h8vh7m3x84hphciqv75lm-libmpc-1.3.1
/nix/store/6pqgj71r0850b0cd95yxx0d52zax016i-libunistring-1.2
/nix/store/dvsai0ym9czjl5mcsarcdwccb70615n4-linux-headers-6.10
/nix/store/wfxkyxmg47bhj098im5rp60hmkagn96x-mpfr-4.2.1
/nix/store/1p1j0iv3c909kcs4d5300kcsnlwmbwyj-ncurses-6.4.20221231
/nix/store/pvw05qnp5jiylq641k6scz71vr3rpwck-nix-info
/nix/store/mdmansf6zkzsnrcf4h3yav5kz93rh03y-patch-2.7.6
/nix/store/9q63d382x7k2h6cc2pfsb39ar3n6f9wg-patchelf-0.15.0
/nix/store/gkj66hn5cyi3d761nmcdpj35ngv7h8ph-pcre2-10.44
/nix/store/n0q4xhb9z19f0rfd1i8frw7a3ip3rgar-readline-8.2p13
/nix/store/m1p78gqlc0pw3sdbz3rdhklzm0g26g96-stdenv-linux
/nix/store/ljlah5wqcbix5wg8rvm3g8rc7k9zn1qg-update-autotools-gnu-config-scripts-hook
/nix/store/2d5spnl8j5r4n1s4bj1zmra7mwx0f1n8-xgcc-13.3.0-libgcc
/nix/store/bdpc1864983kf51r3cznbrvnlkv4d9ff-xz-5.6.3
/nix/store/5180mi672sl6ikiwyhvgnxasz6iqxws0-xz-5.6.3-bin
/nix/store/bzk3q2l71qwhycsip23y6rl5n881la4n-zlib-1.3.1
copying path '/nix/store/rlnih3wlxxwqn4xdahjgfjydvv78kvki-gnu-config-2024-01-01' from 'https://cache.nixos.org'...
copying path '/nix/store/2d5spnl8j5r4n1s4bj1zmra7mwx0f1n8-xgcc-13.3.0-libgcc' from 'https://cache.nixos.org'...
copying path '/nix/store/j8rzqx7farv0w3isp9z943zy437zk02f-gcc-13.3.0-libgcc' from 'https://cache.nixos.org'...
copying path '/nix/store/6pqgj71r0850b0cd95yxx0d52zax016i-libunistring-1.2' from 'https://cache.nixos.org'...
copying path '/nix/store/dvsai0ym9czjl5mcsarcdwccb70615n4-linux-headers-6.10' from 'https://cache.nixos.org'...
copying path '/nix/store/ljlah5wqcbix5wg8rvm3g8rc7k9zn1qg-update-autotools-gnu-config-scripts-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/qwjjm4j652ck9izaid7bz63s4hd5bnha-libidn2-2.3.7' from 'https://cache.nixos.org'...
copying path '/nix/store/wn7v2vhyyyi6clcyn0s9ixvl7d4d87ic-glibc-2.40-36' from 'https://cache.nixos.org'...
copying path '/nix/store/nmq6s9l9zlym3qjx76zzrqbp05a63y90-attr-2.5.2' from 'https://cache.nixos.org'...
copying path '/nix/store/p6k7xp1lsfmbdd731mlglrdj2d66mr82-bash-5.2p37' from 'https://cache.nixos.org'...
copying path '/nix/store/hl3iw85v12gh9mwgvr9yfgjgy0rk81hb-bzip2-1.0.8' from 'https://cache.nixos.org'...
copying path '/nix/store/k5x874vwcaxlan1cw248lwqr4l4v7hyk-ed-1.20.2' from 'https://cache.nixos.org'...
copying path '/nix/store/ka4sync4bccr9mz2ys0dbqjn24hp8v57-expand-response-params' from 'https://cache.nixos.org'...
copying path '/nix/store/nnin69nrnrrmnv2scbwyfkgh1rf51gh1-gawk-5.3.1' from 'https://cache.nixos.org'...
copying path '/nix/store/zw5haplzbwjgbp3yykhm6iprkpfppzxb-glibc-2.40-36-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/y11zr71f9i1zy1vrdy3kjx8j6slsb3l3-gmp-6.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/9y5kd90fdbrq3r4yc9mpqn82f93zdgyq-gnumake-4.4.1' from 'https://cache.nixos.org'...
copying path '/nix/store/vmby25zqxnx94awvj0k7zn0rsd0zyrwg-gnused-4.9' from 'https://cache.nixos.org'...
copying path '/nix/store/gkj66hn5cyi3d761nmcdpj35ngv7h8ph-pcre2-10.44' from 'https://cache.nixos.org'...
copying path '/nix/store/1p1j0iv3c909kcs4d5300kcsnlwmbwyj-ncurses-6.4.20221231' from 'https://cache.nixos.org'...
copying path '/nix/store/bzk3q2l71qwhycsip23y6rl5n881la4n-zlib-1.3.1' from 'https://cache.nixos.org'...
copying path '/nix/store/bdpc1864983kf51r3cznbrvnlkv4d9ff-xz-5.6.3' from 'https://cache.nixos.org'...
copying path '/nix/store/a7pimibppfw2m3ryijnwwzx76i780bw2-gzip-1.13' from 'https://cache.nixos.org'...
copying path '/nix/store/vqjygx23hkim1kpidik5xcs9whayf3sr-bzip2-1.0.8-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/mdmansf6zkzsnrcf4h3yav5kz93rh03y-patch-2.7.6' from 'https://cache.nixos.org'...
copying path '/nix/store/2qssg7pjgadwmqns6jm3qlr5bbdl4dcr-binutils-2.43.1-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/g4lksqp6l8qiab4a0as21s6556xh4gyp-file-5.45' from 'https://cache.nixos.org'...
copying path '/nix/store/nrl5m466dwdscvavf1nqzdnqhszjyy9n-acl-2.3.2' from 'https://cache.nixos.org'...
copying path '/nix/store/xxfkk4gqnaimiwzi6mmsmcs9bl2r8y7f-isl-0.20' from 'https://cache.nixos.org'...
copying path '/nix/store/wfxkyxmg47bhj098im5rp60hmkagn96x-mpfr-4.2.1' from 'https://cache.nixos.org'...
copying path '/nix/store/zhaypw0znkjnymg0rk1599zn21rr0l50-gnutar-1.35' from 'https://cache.nixos.org'...
copying path '/nix/store/5180mi672sl6ikiwyhvgnxasz6iqxws0-xz-5.6.3-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/85amyk92rg19l4fy0qmy7wr4jmq8p5z0-gnugrep-3.11' from 'https://cache.nixos.org'...
copying path '/nix/store/0qqs7bkfk21h8vh7m3x84hphciqv75lm-libmpc-1.3.1' from 'https://cache.nixos.org'...
copying path '/nix/store/lw21wr626v5sdcaxxkv2k4zf1121hfc9-glibc-2.40-36-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/n0q4xhb9z19f0rfd1i8frw7a3ip3rgar-readline-8.2p13' from 'https://cache.nixos.org'...
copying path '/nix/store/bwkb907myixfzzykp21m9iczkhrq5pfy-binutils-2.43.1' from 'https://cache.nixos.org'...
copying path '/nix/store/4krab2h0hd4wvxxmscxrw21pl77j4i7j-gcc-13.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/nxg637az00fnm705pinlrpjac9b4hgsc-gmp-with-cxx-6.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/9q63d382x7k2h6cc2pfsb39ar3n6f9wg-patchelf-0.15.0' from 'https://cache.nixos.org'...
copying path '/nix/store/f33kh08pa7pmy4kvsmsibda46sh46s66-bash-interactive-5.2p37' from 'https://cache.nixos.org'...
copying path '/nix/store/b1wvkjx96i3s7wblz38ya0zr8i93zbc5-coreutils-9.5' from 'https://cache.nixos.org'...
copying path '/nix/store/cxwsmlr3xh1ml4r0kgdjrknw7504b9f8-diffutils-3.10' from 'https://cache.nixos.org'...
copying path '/nix/store/w8pnfazxqwmrqmwkb5zrz1bifsd8abxl-findutils-4.10.0' from 'https://cache.nixos.org'...
copying path '/nix/store/pvw05qnp5jiylq641k6scz71vr3rpwck-nix-info' from 'https://cache.nixos.org'...
copying path '/nix/store/x9as7x6f7cdgcskvvn3yp02m662krr7y-binutils-wrapper-2.43.1' from 'https://cache.nixos.org'...
copying path '/nix/store/4apajimszc47rxwcpvc3g3rj2icinl71-gcc-wrapper-13.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/m1p78gqlc0pw3sdbz3rdhklzm0g26g96-stdenv-linux' from 'https://cache.nixos.org'...
- system: `"x86_64-linux"`
- host os: `Linux 5.15.153.1-microsoft-standard-WSL2, Ubuntu, 24.04.1 LTS (Noble Numbat), nobuild`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.25.3`
- channels(root): `"nixpkgs"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
nix --version
nix (Nix) 2.25.3
使い方
コマンド | 説明 | 例 |
---|---|---|
nix-env -i <パッケージ名> | ユーザー環境にパッケージをインストール | nix-env -i hello |
nix-env -u <パッケージ名> | パッケージをアップデート | nix-env -u hello |
nix-env -e <パッケージ名> | ユーザー環境からパッケージをアンインストール | nix-env -e hello |
nix-env -q | インストールされているパッケージの一覧を表示 | nix-env -q |
nix-env -qa <検索キーワード> | 利用可能なパッケージの検索 | nix-env -qa firefox |
nix-shell | 一時的な環境で指定したパッケージを利用 | nix-shell -p python3 |
nix-collect-garbage | 不要なパッケージや古い世代を削除 | nix-collect-garbage |
nix-store --gc | 不要なストアパスをガベージコレクション | nix-store --gc |
nix-channel --add <URL> | Nixチャネルを追加 | nix-channel --add https://nixos.org/channels/nixpkgs-unstable |
nix-channel --update | すべてのチャネルを更新 | nix-channel --update |
nixos-rebuild switch | NixOSシステム全体を設定に基づいて再構築(NixOS専用) | nixos-rebuild switch |
nix build <パッケージ名> | 指定したパッケージをビルドし、結果をresult シンボリックリンクに出力 | nix build nixpkgs#hello |
nix flake init | フレークプロジェクトを初期化 | nix flake init |
nix flake update | フレークの依存関係を更新 | nix flake update |
nix-shellとnix-envについて
nix-shell
と nix-env
は、どちらも Nix パッケージマネージャでパッケージを扱うためのコマンドだが、目的や使い方に違いがある。
特徴 | nix-shell | nix-env |
---|---|---|
用途 | 一時的な開発環境や依存関係を解決するための一時的なシェルを作成 | ユーザー環境にパッケージを永続的にインストールする |
影響範囲 | 作成されたシェル内の一時的な環境にのみ影響 | ユーザー全体の環境に影響 |
主な目的 | プロジェクトの依存パッケージを一時的に追加して動作確認や開発作業を行う | 通常の使用環境にソフトウェアを追加して使えるようにする |
パッケージのインストール方法 | シェル起動時にパッケージを指定し、終了後は元の環境に戻る | 永続的にインストールされ、以降のセッションでも利用可能 |
プロジェクト指定の依存解決 | shell.nix や default.nix ファイルを利用して、プロジェクトごとの環境を再現 | プロジェクト固有の環境構築には不向き |
使用例 | nix-shell -p python3 : Python3 を含む一時的な環境を作成 | nix-env -i hello : ユーザー環境に hello パッケージをインストール |
デフォルト環境の変更 | シェルを終了すれば影響がなくなる | 永続的にユーザー環境を変更 |
互換性 | 開発時やCI/CDパイプラインなど、特定の依存関係をテストしたり一時的な環境を試すのに適している | デスクトップやサーバーでソフトウェアを使うために、一般的な環境に追加するのに適している |
使い分けについて
開発作業や一時的な作業:
- プロジェクトで特定の依存関係を利用したい場合は、
nix-shell
使う。 - 環境が汚染されないため、複数のプロジェクトを扱う場合に良い。
- プロジェクトで特定の依存関係を利用したい場合は、
普段使うソフトウェアの管理:
- 永続的に利用するツールやアプリケーション(例:
vim
やwget
)をインストールする場合は、nix-env
を使う。
- 永続的に利用するツールやアプリケーション(例:
パッケージのインストール
※今回は一時的に利用したいだけなので、nix-shell
を使う。
- NixOS Search
https://search.nixos.org/packages
で適当なパッケージを探してみる。
hello
パッケージをインストールする。
nix-shell -p hello
実行すると、一時的にshell
環境に連れていかれる。
ログ
~ nix-shell -p hello ✔ │ 6s │ 09:10:57
this path will be fetched (0.05 MiB download, 0.22 MiB unpacked):
/nix/store/1q8w6gl1ll0mwfkqc3c2yx005s6wwfrl-hello-2.12.1
copying path '/nix/store/1q8w6gl1ll0mwfkqc3c2yx005s6wwfrl-hello-2.12.1' from 'https://cache.nixos.org'...
[nix-shell:~]$
[nix-shell:~]$ hello
Hello, world!
素晴らしい!挨拶をしてくれる良いプログラムですね。
挨拶を堪能したところで、shell
環境から抜けてみる。
さて、抜けたところでhello
が動作するかというと…
当然動作はしないので、command not found
になる。
[nix-shell:~]$ hello
Hello, world!
[nix-shell:~]$ exit
exit
~ hello ✔ │ 1m 42s │ 09:23:57
zsh: command not found: hello
nix-shellでインストールしたパッケージの破棄について
nix-shell
を使用してインストールしたパッケージは、一時的な環境でのみ利用可能であり、シェルセッションを終了した時点で破棄される
破棄のタイミング
nix-shell
セッション終了時exit
コマンドを実行してシェルを終了するか、ターミナルウィンドウを閉じると、そのセッション内でのみ有効だった環境が破棄される。- 破棄されるのは環境変数や一時的に利用可能だったパスで、ストア内のパッケージ自体は削除されない(ストアは
/nix/store
に保持される)。
システムには影響がないこと
nix-shell
は、パッケージをグローバルにインストールするわけではなく、指定されたシェル内でのみパスに追加して利用可能にする。- シェルを終了すると、元の環境(
$PATH
など)が復元される。
破棄後にストア内に残るもの
nix-shell
で利用したパッケージは、/nix/store
にキャッシュとして残る。
このため、再度同じパッケージを利用するときにビルドやダウンロードの時間を節約できる。
キャッシュを完全に削除したい場合
- 不要なパスの削除(ガベージコレクション)
nix-collect-garbage
を実行することで、参照されていないストアパスを削除できる。
実際に実行してみたログは以下となる。
ログ
~ nix-collect-garbage ✔ │ 4s │ 09:26:08
finding garbage collector roots...
removing stale link from '/nix/var/nix/gcroots/auto/xgcpwb504cwplvfxga8fppgbyy3vnlb4' to '/tmp/nix-shell-6887-0/nix-build-7001-0/result'
deleting garbage...
deleting '/nix/store/yq54n83dlxjbba26cpm7j7523hqm79bk-shell.drv'
deleting '/nix/store/v8f9qyah2pv1y2wkiisz7373gkw8r0cb-nix-info.drv'
deleting '/nix/store/spb2bpcnw0gbbr4x94cq8xs9n72hipwj-stdenv-linux'
deleting '/nix/store/q5dsf6xj38s1rsv199spa3dsamdbwbrk-diagnostics-sandbox.drv'
deleting '/nix/store/pvw05qnp5jiylq641k6scz71vr3rpwck-nix-info'
deleting '/nix/store/n4qcr4f4i38dr55jasmrqsgfhykspfz4-diagnostics-sandbox.drv'
deleting '/nix/store/m1p78gqlc0pw3sdbz3rdhklzm0g26g96-stdenv-linux'
deleting '/nix/store/zhaypw0znkjnymg0rk1599zn21rr0l50-gnutar-1.35'
deleting '/nix/store/w8pnfazxqwmrqmwkb5zrz1bifsd8abxl-findutils-4.10.0'
deleting '/nix/store/vqjygx23hkim1kpidik5xcs9whayf3sr-bzip2-1.0.8-bin'
deleting '/nix/store/vmby25zqxnx94awvj0k7zn0rsd0zyrwg-gnused-4.9'
deleting '/nix/store/nnin69nrnrrmnv2scbwyfkgh1rf51gh1-gawk-5.3.1'
deleting '/nix/store/mdmansf6zkzsnrcf4h3yav5kz93rh03y-patch-2.7.6'
deleting '/nix/store/ljlah5wqcbix5wg8rvm3g8rc7k9zn1qg-update-autotools-gnu-config-scripts-hook'
deleting '/nix/store/rlnih3wlxxwqn4xdahjgfjydvv78kvki-gnu-config-2024-01-01'
deleting '/nix/store/k5x874vwcaxlan1cw248lwqr4l4v7hyk-ed-1.20.2'
deleting '/nix/store/hl3iw85v12gh9mwgvr9yfgjgy0rk81hb-bzip2-1.0.8'
deleting '/nix/store/g4lksqp6l8qiab4a0as21s6556xh4gyp-file-5.45'
deleting '/nix/store/cxwsmlr3xh1ml4r0kgdjrknw7504b9f8-diffutils-3.10'
deleting '/nix/store/bvirdzf845nkrxg214gsk1pmjfr25xhy-bash-interactive-5.2p37.drv'
deleting '/nix/store/zqfdj00cbcgp3ia849k6nbl4shxql7yq-bash52-009.drv'
deleting '/nix/store/zlyg4vlp839l4jz7glqmfndvs5ibqwqw-bash52-037.drv'
deleting '/nix/store/yq4in6jl1f81q6lzf9prbd61mx7j3snv-bash52-005.drv'
deleting '/nix/store/sydjd53zsdj9d49z8p3gfw93m9hnahpn-bash52-031.drv'
deleting '/nix/store/shbl5mmanmcxq59bwv9k02a0kwyv7qym-bash52-012.drv'
deleting '/nix/store/riba9l4y4ad081bncy76zfq0srf8dhpr-bash52-019.drv'
deleting '/nix/store/rf35nl2sl5yqsvwyq1vm3g37b510wcq5-bash52-007.drv'
deleting '/nix/store/rdh9wwrz9sij627s89qa6jqsickh9s57-bash-5.2.tar.gz.drv'
deleting '/nix/store/p1lf00la67cp8sd6vfbq81l0sccjb92y-bash52-015.drv'
deleting '/nix/store/mvv4kyd9i046kk2zy3hjik5ndpixm6a4-bash52-020.drv'
deleting '/nix/store/mqi1j62chk23jkqifzk8p862z21lrhdl-bash52-013.drv'
deleting '/nix/store/mbb1p6dxmn396f3ayc5i7n04242v1i95-bash52-027.drv'
deleting '/nix/store/m85fb7kyrh11mdwz00zflhf2ib773b3k-bash52-033.drv'
deleting '/nix/store/m55qp2mapbf6zi02d5nk5vh3zfxnmqag-bash52-034.drv'
deleting '/nix/store/ki4p8a8kbgr9pj6bfwq7mq16n9alj5ps-bash52-004.drv'
deleting '/nix/store/k24rkd9ac3mk94fb2diwrsd1d4ypiicb-bash52-002.drv'
deleting '/nix/store/jphghw60vxmkddis6vgv20f3m8sv05hd-bash52-022.drv'
deleting '/nix/store/jnxwa4qjminm9cv5qmrj962pmz2lq8ki-bash52-001.drv'
deleting '/nix/store/ish7qf5s2gd17hnfnmfvrn063agnjdlj-bash52-035.drv'
deleting '/nix/store/ijrr7z0kzzmv97gw2js2is6fr876p2si-bash52-036.drv'
deleting '/nix/store/hsgckmgnabjw3j882mbc2rhxd48bzpln-bash52-026.drv'
deleting '/nix/store/gb7d40xh9si0in4x86glabcj0rglddp8-bison-3.8.2.drv'
deleting '/nix/store/gb31fnwwg2wlvvg66gicdz1894kscanq-bash52-025.drv'
deleting '/nix/store/fiw2gbphh46gs8dngzb6l14qhn5lx1ch-bash52-017.drv'
deleting '/nix/store/dn40s3cz07bhhjkh0dzs4i9rwfmj11zw-bash52-018.drv'
deleting '/nix/store/d87zghnnh8q0fpjm8b525rs348bw4nq3-bash52-003.drv'
deleting '/nix/store/d23wg0xfzvpl69p9pp03kji08yalifcq-bash52-006.drv'
deleting '/nix/store/al3chmzl4jbvndkyi597gphn2231zl51-diagnostics-multiuser.drv'
deleting '/nix/store/a8fvapzyy2ijir5s50gwyh05bv60n7sd-bash52-008.drv'
deleting '/nix/store/a7pimibppfw2m3ryijnwwzx76i780bw2-gzip-1.13'
deleting '/nix/store/9y5kd90fdbrq3r4yc9mpqn82f93zdgyq-gnumake-4.4.1'
deleting '/nix/store/9xgdjypygkdm4c4ysgwbhg0qzjdjybzv-bash52-024.drv'
deleting '/nix/store/9rh88hjvma3623a52hna362995dp601w-bash52-032.drv'
deleting '/nix/store/9q63d382x7k2h6cc2pfsb39ar3n6f9wg-patchelf-0.15.0'
deleting '/nix/store/9db8yks9iwcvvk8j33rqdmrvk8vj4lyv-gnum4-1.4.19.drv'
deleting '/nix/store/886bp2hkdpb8g9fr4vzi4c9axm1i4mda-bash52-029.drv'
deleting '/nix/store/7a6ymc4ndj9nwlp5yn9p7vr6lq9ax3jv-bash52-011.drv'
deleting '/nix/store/78m5q6r3s7r5nzmfi8cbin6mmix374k3-bash52-010.drv'
deleting '/nix/store/72hvjqvxgccranarpbsb9qwdpb8pv3di-diagnostics-multiuser'
deleting '/nix/store/6q3qszi1cdvsfshkhgj0i8c6y3qwys66-bash52-030.drv'
deleting '/nix/store/5180mi672sl6ikiwyhvgnxasz6iqxws0-xz-5.6.3-bin'
deleting '/nix/store/bdpc1864983kf51r3cznbrvnlkv4d9ff-xz-5.6.3'
deleting '/nix/store/4zfxaai96fd9iycmf1932lynj29dljzw-bash52-016.drv'
deleting '/nix/store/4s89k83rvsynxldlq73ry97c0sb8mbnr-m4-1.4.19.tar.bz2.drv'
deleting '/nix/store/4apajimszc47rxwcpvc3g3rj2icinl71-gcc-wrapper-13.3.0'
deleting '/nix/store/x9as7x6f7cdgcskvvn3yp02m662krr7y-binutils-wrapper-2.43.1'
deleting '/nix/store/bwkb907myixfzzykp21m9iczkhrq5pfy-binutils-2.43.1'
deleting '/nix/store/p6k7xp1lsfmbdd731mlglrdj2d66mr82-bash-5.2p37'
deleting '/nix/store/ka4sync4bccr9mz2ys0dbqjn24hp8v57-expand-response-params'
deleting '/nix/store/b1wvkjx96i3s7wblz38ya0zr8i93zbc5-coreutils-9.5'
deleting '/nix/store/nxg637az00fnm705pinlrpjac9b4hgsc-gmp-with-cxx-6.3.0'
deleting '/nix/store/nrl5m466dwdscvavf1nqzdnqhszjyy9n-acl-2.3.2'
deleting '/nix/store/nmq6s9l9zlym3qjx76zzrqbp05a63y90-attr-2.5.2'
deleting '/nix/store/85amyk92rg19l4fy0qmy7wr4jmq8p5z0-gnugrep-3.11'
deleting '/nix/store/gkj66hn5cyi3d761nmcdpj35ngv7h8ph-pcre2-10.44'
deleting '/nix/store/4krab2h0hd4wvxxmscxrw21pl77j4i7j-gcc-13.3.0'
deleting '/nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib'
deleting '/nix/store/j8rzqx7farv0w3isp9z943zy437zk02f-gcc-13.3.0-libgcc'
deleting '/nix/store/xxfkk4gqnaimiwzi6mmsmcs9bl2r8y7f-isl-0.20'
deleting '/nix/store/3dj4vlfsrsjrsqgl4vrbv991i6pwq0sp-bash52-014.drv'
deleting '/nix/store/3613hi9pmvd3i33mvifs5r39qvsz35zz-bash52-028.drv'
deleting '/nix/store/2qssg7pjgadwmqns6jm3qlr5bbdl4dcr-binutils-2.43.1-lib'
deleting '/nix/store/bzk3q2l71qwhycsip23y6rl5n881la4n-zlib-1.3.1'
deleting '/nix/store/2c06bcgjaf343l9bl2d6v28d7ixnz55l-bison-3.8.2.tar.gz.drv'
deleting '/nix/store/200n43ms8l8k08pldp5h7f55h1h6gcvf-bash52-021.drv'
deleting '/nix/store/191izjs5930psi55qfc3177ymjmfp660-bash52-023.drv'
deleting '/nix/store/14vwdw2n2372z7bqm6cwkp3fankj0m7j-texinfo-7.1.1.drv'
deleting '/nix/store/rav3iplbrpyhp9pprqn0nf7709pl2ci7-perl-5.40.0.drv'
deleting '/nix/store/704j4bblf505zj1cwb030z71zl2md5as-perl-5.40.0.tar.gz.drv'
deleting '/nix/store/j71nyrrlhpw2fjizhd1vjs72qqrddz6j-texinfo-7.1.1.tar.xz.drv'
deleting '/nix/store/10bvzjyjsi9232zsirhscgd8py1x9mch-readline-8.2p13.drv'
deleting '/nix/store/ysfgsc1wkanwc5sybi6pg6v8lladbx4v-readline82-003.drv'
deleting '/nix/store/vbri5s78rw3kph4pfb6aw291m29ihcsv-readline82-010.drv'
deleting '/nix/store/s791gx0lagda3pnslzsq9pnji3kllhmd-readline82-005.drv'
deleting '/nix/store/s25324j4jcnr0vs90x687cxa7jvqimji-readline82-011.drv'
deleting '/nix/store/qvxajl0v383l1a9xnrmvg9s8x474xi53-readline82-013.drv'
deleting '/nix/store/lxkdacyv79803jkf2gaq7hrzpj8hy66h-readline82-007.drv'
deleting '/nix/store/l5jr2gx4lng18na982ir052041ldzsm2-readline82-006.drv'
deleting '/nix/store/kryzsh9rnb5kvdkx513jskxdf7xh9b4q-readline82-008.drv'
deleting '/nix/store/jfcwjx880fqvs9ka59yazzp5akwwnrn9-readline82-012.drv'
deleting '/nix/store/ing9njj9zcg4abd0mrh84s2jdklw1hcv-readline82-001.drv'
deleting '/nix/store/hkwc9nmj2p2gkcjjhw81rn69z5xbxz2i-ncurses-6.4.20221231.drv'
deleting '/nix/store/s1l3m1kr07wkjgppbs7rmzjs42hdmxg3-pkg-config-wrapper-0.29.2.drv'
deleting '/nix/store/qqy7r42saqla9vplrr25hg9in5p5sqsq-pkg-config-0.29.2.drv'
deleting '/nix/store/9ppjh943jklapa55l3pxdhiqsryibxfl-pkg-config-0.29.2.tar.gz.drv'
deleting '/nix/store/hwx5ygizb7mwaqi4vwf3gajbiq4ih4gl-update-autotools-gnu-config-scripts-hook.drv'
deleting '/nix/store/czwhm6ggv5yjqzq53c65455nlk3cch8d-gnu-config-2024-01-01.drv'
deleting '/nix/store/ppy6x2x34bn84nkdvr9cq6xl7v8d0wrq-config.guess-948ae97.drv'
deleting '/nix/store/17jjjz36g6svn6kryg89l87y571a44pn-config.sub-948ae97.drv'
deleting '/nix/store/46202zi8hvs99zz5kf0f2xsnzbjrn2nq-ncurses-6.4.tar.gz.drv'
deleting '/nix/store/gyl42jv1ndb2rqc38y4amzlnjxj127m6-readline-8.2.tar.gz.drv'
deleting '/nix/store/fwbxkgqawvbs5n7z3mnqppy8psk2rq1j-readline82-009.drv'
deleting '/nix/store/8nlp204fsy5pg428w1rin4y3y9gs39nz-readline82-002.drv'
deleting '/nix/store/89yk8kifr27pfzjjnyxvw2hd6313qgnj-readline82-004.drv'
deleting '/nix/store/0qqs7bkfk21h8vh7m3x84hphciqv75lm-libmpc-1.3.1'
deleting '/nix/store/wfxkyxmg47bhj098im5rp60hmkagn96x-mpfr-4.2.1'
deleting '/nix/store/y11zr71f9i1zy1vrdy3kjx8j6slsb3l3-gmp-6.3.0'
deleting '/nix/store/0gh85irzhzwwzl4vplfgy55zd88v9dhs-shell.drv'
deleting '/nix/store/9vkdb4vqqyqjkm2825vkm74gdxcr0m46-hello-2.12.1.drv'
deleting '/nix/store/s982vh5z4ikjsgx0a1cfp1blzll0yjgf-version-check-hook.drv'
deleting '/nix/store/bfhj6w6zvy1v7l6dm6ppsk2hrlcrkyfl-hello-2.12.1.tar.gz.drv'
deleting '/nix/store/avk7dy1fdyrf7d4z0ad62db7bx2ccppv-mirrors-list.drv'
deleting '/nix/store/a5x5v9n7v60swhb53nf4k0g8848sik2j-curl-8.11.0.drv'
deleting '/nix/store/gp7yh2a39w0yn2n26kljsi7z8p8ymy3y-libssh2-1.11.1.drv'
deleting '/nix/store/7p13n0ncr0mxbw8dv0fzdmxrmhfss2nn-krb5-1.21.3.drv'
deleting '/nix/store/s80r08cnvpyl21743amfyfkbfnkm6zhk-keyutils-1.6.3.drv'
deleting '/nix/store/bxwx5ckjy63pbwnnzawcl9z2yq2kk174-openssl-3.3.2.drv'
deleting '/nix/store/s35vnmn2y124xa6iw1kcqalixmca1s8m-make-binary-wrapper-hook.drv'
deleting '/nix/store/80q4sm4fllbifq7kdpbwp6mrbi0j356w-die-hook.drv'
deleting '/nix/store/by983vw5x0b8i6cbcz5y2hkd0n3n4a9b-coreutils-9.5.drv'
deleting '/nix/store/rg4krf5bc0dm4rdq6247dw0wy0hqyymi-perl-5.40.0.drv'
deleting '/nix/store/zkg1mah4nk34yjq5yf3v5ar51yjcirg8-libxcrypt-4.4.36.drv'
deleting '/nix/store/shailhvcr55ka95ljnbllmqjcv3brd14-perl-5.40.0.drv'
deleting '/nix/store/65qpmbpbl2r04vdms7n8v0bfix3vfwzq-byacc-20240109.drv'
deleting '/nix/store/4hr85i8zl40sngk5a385pvr5vfw3saha-nghttp2-1.64.0.drv'
deleting '/nix/store/y5i2dpl8sdjrnbvgl6rgksd3kdmvg65h-pkg-config-wrapper-0.29.2.drv'
deleting '/nix/store/9zhvwdi4bpn7wby00l32wz6jxwa4lfih-pkg-config-0.29.2.drv'
deleting '/nix/store/m9k4fk3ra3cjxi48ipi3yf3qgpfyxp2d-glibc-iconv-2.40.drv'
deleting '/nix/store/ws0w1jw9y3wwmvm305m18ivjil4nayls-stdenv-linux.drv'
deleting '/nix/store/vxckchzd4ny3dni980qf570fmfc3q5m6-stdenv-linux.drv'
deleting '/nix/store/zrp1z93l9cj9ia4n6s9cfs0f3s37r8v1-gcc-wrapper-13.3.0.drv'
deleting '/nix/store/yvfillgsv8zhx5isndq76c2xf6cm6s5v-diffutils-3.10.drv'
deleting '/nix/store/s0km6zkkz46sqhh2qkz5ivr5a2iyjsym-binutils-wrapper-2.43.1.drv'
deleting '/nix/store/r5hs2f7snrnyh46d504cpjw4h8xxjx20-gnused-4.9.drv'
deleting '/nix/store/q1lc7fcv1y4b80hhgch0nr6kraanhlm8-patch-2.7.6.drv'
deleting '/nix/store/m4ic140ah57kg5xd2m4s7piaym28719s-gzip-1.13.drv'
deleting '/nix/store/2p8j0pjf4m63iksncbq9qsz3zms845cf-make-shell-wrapper-hook.drv'
deleting '/nix/store/61854fyyiyawkprq7zf4pvrq7ksy2hdf-die-hook.drv'
deleting '/nix/store/hw97j4skcq7fz666gg8d2rzndvlbyyag-patchelf-0.15.0.drv'
deleting '/nix/store/h2i2ia1gpxic6b1z77kb0k9bw7c958g2-gnutar-1.35.drv'
deleting '/nix/store/gbdpwqdhs9pjhcvmdypdmacsycvjq9b0-gnugrep-3.11.drv'
deleting '/nix/store/fm93xnk0q0cvzbrr0y3xzcw560afcdb0-glibc-locales-2.40-36.drv'
deleting '/nix/store/v8gdyjfapcis75cvxpdfw8zlx38alq1l-locales-setup-hook.sh.drv'
deleting '/nix/store/b6a9n98dh7l71h7j07xrc4d6av70ps3k-python3-minimal-3.12.7.drv'
deleting '/nix/store/q7wf23cdawpazwb1sb69z1ilnnbyxns4-autoconf-archive-2024.10.16.drv'
deleting '/nix/store/phv4sjg39bdw2d4mfh0bbi1fza1n1pss-mpdecimal-4.0.0.drv'
deleting '/nix/store/pfzmf8h26dn538v0vsrg9hf21lgp65cj-python-setup-hook.sh.drv'
deleting '/nix/store/82s7jkj0bnlgrrxr505lclkrzl0ivrvj-expat-2.6.4.drv'
deleting '/nix/store/5gc213w91ynqkjxkqm7qxlp8b9214x2z-libxcrypt-4.4.36.drv'
deleting '/nix/store/3bk55mr72ch9ahn40rgsq3pn418nznin-libffi-3.4.6.drv'
deleting '/nix/store/17yimdihwq1lzr8man6mwd2gq94zb5vz-nuke-references.drv'
deleting '/nix/store/b322fvgx04ffh89wbz4lhk6ilxz7245p-binutils-2.43.1.drv'
deleting '/nix/store/a1yk9zy5d6iqiwdz9j2hzd5ssc70rnd9-findutils-4.10.0.drv'
deleting '/nix/store/z976lw72v1xrnqy27b554xrb02szjhlh-coreutils-9.5.drv'
deleting '/nix/store/g76rgq3hrnbdmd3wv1mfgkhjcfsbhqak-acl-2.3.2.drv'
deleting '/nix/store/wa61ch9dnbaj90j8yqw0a4idmpxhv50n-attr-2.5.2.drv'
deleting '/nix/store/by1qyb1m2cyhqymlmkj16lxc7zbqy8xs-gmp-with-cxx-6.3.0.drv'
deleting '/nix/store/9akqn6bzg5vdllczbffrzn5av9mqaz55-xz-5.6.3.drv'
deleting '/nix/store/6j2v46421zf73s5cbdci8p2wmm7b577n-ed-1.20.2.drv'
deleting '/nix/store/xca5r54i5hpir2a7skaj3pxhaqdzdqws-lzip-1.24.1.drv'
deleting '/nix/store/587bpwhsmfl9vi6jn539nsivks3cdwpy-gnumake-4.4.1.drv'
deleting '/nix/store/z7n2hllxr49f5dgdbys58j5igp6j13j4-pkg-config-wrapper-0.29.2.drv'
deleting '/nix/store/kggi9jaljz7c73ma78r4zfqyk22qdljs-pkg-config-0.29.2.drv'
deleting '/nix/store/dsnv5c2qx03mlw9ssrz4lfcdy4mpnqkr-glibc-iconv-2.40.drv'
deleting '/nix/store/38ssgxq8ycm9yck4ns3pi5shzmlvchb5-bzip2-1.0.8.drv'
deleting '/nix/store/1wr5i0n7grr9649d0cxy3qhv57zxx7sj-pcre2-10.44.drv'
deleting '/nix/store/03dd2siaklb4mny9bmm3l8h3fhcwz5zi-gawk-5.3.1.drv'
deleting '/nix/store/igapmhix4891d8mvv383qigdlcs7izvb-autoreconf-hook.drv'
deleting '/nix/store/z2lsfzrkryj9mblicp72j7fkxqskjzmx-libtool-2.4.7.drv'
deleting '/nix/store/s63zivn27i8qv5cqiy8r5hf48r323qwa-bash-5.2p37.drv'
deleting '/nix/store/p6nl0zi6y24zpj3l1cl725lyxl73d946-file-5.45.drv'
deleting '/nix/store/yg0zbn1ai24ad4k641fbyy4vm7xfw2id-automake-1.16.5.drv'
deleting '/nix/store/bfv1sg2nvdk6g7c2hl4rcdsrlc8j8d58-update-autotools-gnu-config-scripts-hook.drv'
deleting '/nix/store/p1lpnfk5k4xjm1wbs6w5bdc7543flfjf-gnu-config-2024-01-01.drv'
deleting '/nix/store/f8p2g1kx4j6vvil6sm5hrmaqa2nfdfwp-bootstrap-stage4-stdenv-linux.drv'
deleting '/nix/store/ahcgalwna14ka401plyaaqwjfp99y3b4-autoconf-2.72.drv'
deleting '/nix/store/lzxyxnnr4mc0ap5mz2a4w65r8gxak5sh-bootstrap-stage4-stdenv-linux.drv'
deleting '/nix/store/naxl6z1qf92hckwp18bf3g4x07p4visb-xz-5.6.3.drv'
deleting '/nix/store/6zlwim1pn1dw8k1yl27pimslqsvjj2qy-bootstrap-stage4-gcc-wrapper-13.3.0.drv'
deleting '/nix/store/nrvcrj7crcvwr3hc4mf1jx68kihnnzhk-gcc-13.3.0.drv'
deleting '/nix/store/w1b1ssx051kkfa29fwv6190lvvnmp3y6-isl-0.20.drv'
deleting '/nix/store/8y8v8gcmdn81j0nv42dfah5ca4jba25n-libmpc-1.3.1.drv'
deleting '/nix/store/9a1jajgfvcgvv0igm610fbdjypp994w7-mpfr-4.2.1.drv'
deleting '/nix/store/vzpfq2yv49fh3k82xzkczgv14ix4aq0g-gmp-6.3.0.drv'
deleting '/nix/store/22kmlam3ypg9dfj5bxs7iagx3gjnr5fb-zlib-1.3.1.drv'
deleting '/nix/store/88qz0klwwr5ybyb126ns2p0rg766p14q-expand-response-params.drv'
deleting '/nix/store/1sy7mn1lvdln9f8ql024bl65vpy8dl9f-texinfo-7.1.1.drv'
deleting '/nix/store/b348r19qcizi6fiq1w8rmaqnlzk57xaq-bash-5.2p37.drv'
deleting '/nix/store/wr9rj74ryhh600gq19361s450vbj9a09-update-autotools-gnu-config-scripts-hook.drv'
deleting '/nix/store/g9ny5lg0iwmgwfk4r5sibyrwxz6lb6pq-gnu-config-2024-01-01.drv'
deleting '/nix/store/gp38xzkcj0ijj3xzdxvnsmrky5fz4bzy-bootstrap-stage3-stdenv-linux.drv'
deleting '/nix/store/4zmhjzijbv26vpw0wrh0x55r8hlms63i-bootstrap-stage3-gcc-wrapper-13.3.0.drv'
deleting '/nix/store/wmqnz22kcvv36l00jzjfv3c3mzkdlx8l-expand-response-params.drv'
deleting '/nix/store/vq6w767qnf4qkl0b2qvl0nk7xcr9p5xz-nuke-references.drv'
deleting '/nix/store/lw21wr626v5sdcaxxkv2k4zf1121hfc9-glibc-2.40-36-dev'
deleting '/nix/store/zw5haplzbwjgbp3yykhm6iprkpfppzxb-glibc-2.40-36-bin'
deleting '/nix/store/l95d6qbzakl0y8qvyadh3anqjfx2h6v6-bootstrap-stage3-stdenv-linux.drv'
deleting '/nix/store/f84l2w05srnlbh7swnw242656wqfmgzs-binutils-patchelfed-ld-wrapper-2.43.1.drv'
deleting '/nix/store/j64yyd0ish5zsv0zk2bhy7zaklws9qj3-binutils-patchelfed-ld-2.43.1.drv'
deleting '/nix/store/qhdvi3qcn60vrapyhsxxpbw0q63gmfz8-glibc-2.40-36.drv'
deleting '/nix/store/sx5ffrd4v5vqckzmh46jk0ql9az6s7fv-libidn2-2.3.7.drv'
deleting '/nix/store/gxn78nms6mmkhs6ksnf1m6jkw50xdrgf-libunistring-1.2.drv'
deleting '/nix/store/mcfkd0w9jw6gq7w92qprd76idhmvnh01-python3-minimal-3.12.7.drv'
deleting '/nix/store/xwkq1snf1ni0b6k6qkjhdi0byggwnnjw-pkg-config-wrapper-0.29.2.drv'
deleting '/nix/store/qwhm5949kf7fls807ixshxxymlf3hn90-bzip2-1.0.8.drv'
deleting '/nix/store/ppb7p65n69pz76r44zhwcxs4rpmyxkjp-mpdecimal-4.0.0.drv'
deleting '/nix/store/xyvwglvpk1ywn11dm06bh9f94cn8316r-autoreconf-hook.drv'
deleting '/nix/store/ixfaj6pahpmdjv48awpx6cfhjzp7z071-libxcrypt-4.4.36.drv'
deleting '/nix/store/jkv3ysvp429vb9br1dxgmn60rn180gfs-linux-headers-6.10.drv'
deleting '/nix/store/f33kh08pa7pmy4kvsmsibda46sh46s66-bash-interactive-5.2p37'
deleting '/nix/store/n0q4xhb9z19f0rfd1i8frw7a3ip3rgar-readline-8.2p13'
deleting '/nix/store/dvsai0ym9czjl5mcsarcdwccb70615n4-linux-headers-6.10'
deleting '/nix/store/ajip9d59zdlv5grbralbdwh93liwfydd-patchelf-0.15.0.drv'
deleting '/nix/store/9j128nc36zfjl8zlq6ym1larrbywj02m-automake-1.16.5.drv'
deleting '/nix/store/krmrgqlkqwj9b3f87m05zr1gckwszq0i-autoconf-2.72.drv'
deleting '/nix/store/5fjvm3dvam6hfp3abm12ihrxj7rqafxf-libtool-2.4.7.drv'
deleting '/nix/store/lkgjzygmdi6cprckadh7myrz9bvl2fi4-file-5.45.drv'
deleting '/nix/store/6s59w28ninxa44yfimzx13phdxd0bbqx-bash-5.2p37.drv'
deleting '/nix/store/59ssl76hws8ij7ynh5dr1kn9j0k0zw1n-zlib-1.3.1.drv'
deleting '/nix/store/4p2vq38zfgxzcxczm97xmsv42vxyfs67-expat-2.6.4.drv'
deleting '/nix/store/rns8d9yg3k68a1frq9si73i7lnczc4k7-update-autotools-gnu-config-scripts-hook.drv'
deleting '/nix/store/6zhyw61ixdz5rjfafsiw0zy3cggl9cbb-gnu-config-2024-01-01.drv'
deleting '/nix/store/4bwlwhn57lrg1xv2ngdkicp52d22996z-autoconf-archive-2024.10.16.drv'
deleting '/nix/store/l4jy3ki2ax5mbnz1vs9m0sd8ravrczxn-xz-5.6.3.drv'
deleting '/nix/store/3hfk5mpsp1rnd49q32dlnhw4r4y181mp-libffi-3.4.6.drv'
deleting '/nix/store/20vrhyjai0m6a8n4579ab25cp94ym1bb-pkg-config-0.29.2.drv'
deleting '/nix/store/v455rpsn7al9ra2b6m76wqh5na0flkv6-bootstrap-stage2-stdenv-linux.drv'
deleting '/nix/store/ilqc3pzjspm0ql68gh0676ckdk199vzc-bootstrap-stage2-gcc-wrapper-13.3.0.drv'
deleting '/nix/store/r6l41k3h0kf9bldfvm7rj41fvjcr0rf9-binutils-wrapper-2.43.1.drv'
deleting '/nix/store/61ryzil4xv4m9qrdywvavpdda90nfckw-binutils-2.43.1.drv'
deleting '/nix/store/cvx2cpp14a7kkvj92g41zm4pycj1d0kw-xgcc-13.3.0.drv'
deleting '/nix/store/pb51kpiam9xjr1gvzkjmcs6njk3nya9j-texinfo-7.1.1.drv'
deleting '/nix/store/nnnrx037g0b2kzd9k4kwwd6l4ykya919-bash-5.2p37.drv'
deleting '/nix/store/hmc7jr9v6lqrszzy974067r4q5frs9cv-gettext-0.21.1.drv'
deleting '/nix/store/g0zn9378vkyrhcf5bvz7xhssgbbmlyrp-bash-5.2p37.drv'
deleting '/nix/store/j2zlvksmwzs79zvsqmz45jn39zsyr31f-bash52-002.drv'
deleting '/nix/store/1q8w6gl1ll0mwfkqc3c2yx005s6wwfrl-hello-2.12.1'
deleting '/nix/store/1p1j0iv3c909kcs4d5300kcsnlwmbwyj-ncurses-6.4.20221231'
deleting '/nix/store/wn7v2vhyyyi6clcyn0s9ixvl7d4d87ic-glibc-2.40-36'
deleting '/nix/store/qwjjm4j652ck9izaid7bz63s4hd5bnha-libidn2-2.3.7'
deleting '/nix/store/6pqgj71r0850b0cd95yxx0d52zax016i-libunistring-1.2'
deleting '/nix/store/2d5spnl8j5r4n1s4bj1zmra7mwx0f1n8-xgcc-13.3.0-libgcc'
deleting '/nix/store/imw1szdp6kqcvlxcazax8qssl0x798kf-libmpc-1.3.1.drv'
deleting '/nix/store/pqdk23b5sjbxavxk6jni8nx01aqzzi25-mpfr-4.2.1.drv'
deleting '/nix/store/d6v927x7j0znnnxqqpl5w4bfnavrsyc5-isl-0.20.drv'
deleting '/nix/store/7qr7hqp7jbx51icrq7r813qys17l2rsc-gmp-6.3.0.drv'
deleting '/nix/store/z4x4wa4ahsc6xn40j847dsrnagxd41w0-gmp-6.3.0.tar.bz2.drv'
deleting '/nix/store/nsw82ybp208qkgs87s5b2h74978lrgd8-bash52-011.drv'
deleting '/nix/store/56d0w71pjj9bdr363ym3wj1zkwyqq97j-fix-pop-var-context-error.patch'
deleting '/nix/store/m7cyv7yrqlazp2jbpc2k53xyhrczz0af-mpfr-4.2.1.tar.xz.drv'
deleting '/nix/store/i6sbrplyg099jkzpnxnz38y95aay3ip0-python-setup-hook.sh.drv'
deleting '/nix/store/h404wrln66mxh8spckjfdgk6634xnga0-libxcrypt-4.4.36.drv'
deleting '/nix/store/c9fl63p5lsl7cpkzaylsbkf2xjnb5vl5-which-2.21.drv'
deleting '/nix/store/9v9k2cnqw962ldwabkyp7calmvp63lyd-bootstrap-stage0-glibc-iconv-bootstrapFiles.drv'
deleting '/nix/store/3fizw44lr7a5m7fwkqx6wisap21zlwfb-nuke-references.drv'
deleting '/nix/store/ismkxxgzhnyd8zl90r53yxqkqs6l44kk-bootstrap-stage2-stdenv-linux.drv'
deleting '/nix/store/fdi9mri1rpn6cikxrrmg10122y2ywkph-update-autotools-gnu-config-scripts-hook.drv'
deleting '/nix/store/23mh7h4x43y5h5b1bw30nwfi6clbpny2-gnu-config-2024-01-01.drv'
deleting '/nix/store/082q12iqbm8i0s9jjkn6mqn3s08sddbw-expand-response-params.drv'
deleting '/nix/store/86ds8brb5nmjrycs96rncj0s4hjr9053-bootstrap-stage-xgcc-stdenv-linux.drv'
deleting '/nix/store/43lvdp28w1wmj7qvj4cp846rq3y84k5q-bootstrap-stage-xgcc-gcc-wrapper-.drv'
deleting '/nix/store/ddchr5134yg5xjs7mpf0qpflph55386l-nuke-references.drv'
deleting '/nix/store/ax0nrc8b8a9mkwk7gip2bfxl6ks0gph0-bison-3.8.2.drv'
deleting '/nix/store/05hpfnp9b22l83b8bh198axdmx4985l0-perl-5.40.0.drv'
deleting '/nix/store/6nvdzyjrhc9h84y2iqby9qpzw0v7gz4d-zlib-1.3.1.drv'
deleting '/nix/store/gyks6vvl7x0gq214ldjhi3w4rg37nh8i-zlib-1.3.1.tar.gz.drv'
deleting '/nix/store/xicrk4waf3kazyf96aaavsirgx241r0s-separate-debug-info.sh'
deleting '/nix/store/d6jzf3bhlvbcm08m0d0fvqv1xw8s2vq7-windres-locate-gcc.patch'
deleting '/nix/store/ikxsm2l09wp0za8cn6zml51155840kgf-patchelf-0.15.0.drv'
deleting '/nix/store/gn7h5s0ijk6v2ky4slb1yz8a7c5fwjcn-expand-response-params.drv'
deleting '/nix/store/7njndm5dmwlxkc80w9gk347nsmcy6wk9-bootstrap-stage-xgcc-stdenv-linux.drv'
deleting '/nix/store/zvg2a18aignnkcfs4an2r278ixfgzk99-update-autotools-gnu-config-scripts-hook.drv'
deleting '/nix/store/s4f5b7j6hl289h6g096bxlqba321wr6b-gnu-config-2024-01-01.drv'
deleting '/nix/store/4l403qw178dqy80jfb1jba1zmji03dg7-gnum4-1.4.19.drv'
deleting '/nix/store/fxz942i5pzia8cgha06swhq216l01p8d-bootstrap-stage1-stdenv-linux.drv'
deleting '/nix/store/45xpqvq383243s730wmaka92mikrdy43-bootstrap-stage1-stdenv-linux.drv'
deleting '/nix/store/hmfzfp7f1j64di1449pd0kaw9imsx9nq-update-autotools-gnu-config-scripts-hook.drv'
deleting '/nix/store/q3lnrwnakil4ry4h8dffk1m6d4lki28y-gnu-config-2024-01-01.drv'
deleting '/nix/store/01b514fgfw953n7q1vickfa7aq41zqq8-bootstrap-stage1-gcc-wrapper-.drv'
deleting '/nix/store/72c838vcc1440hfh6zkl8mna1nsskslv-bootstrap-stage0-binutils-wrapper-.drv'
deleting '/nix/store/s35vvvl8jd34za204gssgdys4avrjjf7-bootstrap-stage0-glibc-bootstrapFiles.drv'
deleting '/nix/store/jhnz6wx6p5h0pqykj1i7jdzj8ddqlgnf-bootstrap-stage0-stdenv-linux.drv'
deleting '/nix/store/xrg4vv8pg061c8dvdg5v9vbfmaglb7yn-setup.sh'
deleting '/nix/store/s5myj3ybdn7wrsfpydj48mm24vnvw6bc-no-ldconfig.patch'
deleting '/nix/store/kssqadrh4044p2na6fclnyh6pv3r9l5s-bash52-013.drv'
deleting '/nix/store/za0pg7fmysrcwrqcal26fnmzw6vycgdn-fix_path_attribute_in_getconf.patch'
deleting '/nix/store/819fzxfwzp7zhhi4wy5nkapimkb1bsx5-die.sh'
deleting '/nix/store/f1kvkfigync29bnh159frf9xchfm1dpm-cc-wrapper.sh'
deleting '/nix/store/jnfrr555w6xpqvwyvcav4r86yi4dyb10-libidn2-2.3.7.tar.gz.drv'
deleting '/nix/store/dql52ni1cximn3jir6x0i75iwja9j7x6-bash52-029.drv'
deleting '/nix/store/9hia04573d2n427n12wxjgkgm0r8l2nk-libffi-3.4.6.tar.gz.drv'
deleting '/nix/store/lkkzb8ybhp5jjgvb04b13n68i51lxwd9-keyutils-1.6.3.tar.gz.drv'
deleting '/nix/store/pcpx2ayccijipfl32zchx0mg7rzvj6zx-0001-Revert-Remove-all-usage-of-BASH-or-BASH-in-installed.patch'
deleting '/nix/store/g1ziflwij8wlpy1l4bna4vabib9k2jw5-texinfo-7.1.1.tar.xz.drv'
deleting '/nix/store/1rfn1ylygzdbca5b54qjs6n4vnnsx85f-bash52-006.drv'
deleting '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh'
deleting '/nix/store/mlxa7gww562bhbp7gvwlqbzan291ay92-2.40-master.patch'
deleting '/nix/store/wk235w2h9r4rnnhac7ai94fqah6b5mb4-bash52-035.drv'
deleting '/nix/store/rf3kjgy7pbvymp55hxw28dg5g937lmcv-plugins-no-BINDIR.patch'
deleting '/nix/store/zq22rvyy29sgnq9d6ypa4826s3v2fm1w-add-hardening.sh'
deleting '/nix/store/dhjhlihqj08f3fs1cvsja0fims0dqnlw-raw.drv'
deleting '/nix/store/jik02mkz72r2f6hhxnlhp6h5f0fi89gw-expand-response-params.c'
deleting '/nix/store/ly4bk0mxr1d956f21w30idkvhhkkxlvf-libxcrypt-4.4.36.tar.xz.drv'
deleting '/nix/store/dygfxqaah0msj9gwn3mxq54i31vni6nd-grep-3.11.tar.xz.drv'
deleting '/nix/store/k9hn9c1hfxc72q3k8p15ij96d0fbizwj-make-binary-wrapper.sh'
deleting '/nix/store/asdrsq7mqf84zwffhny3pz0zsvx4980y-Python-3.12.7.tar.xz.drv'
deleting '/nix/store/yvqbq2gvsxbw0g959znxvf1li9szz36c-bash52-031.drv'
deleting '/nix/store/p86c38va977n9lyw1lqbxx0syl0vllph-add-flags.sh'
deleting '/nix/store/d6nap8jkk56s1y1s66qgp0yx5lc4s197-gcc-13.3.0.tar.xz.drv'
deleting '/nix/store/nb8wd3xgfp34vic7xw7rkb186pq7hwfh-bash52-001.drv'
deleting '/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh'
deleting '/nix/store/72cmq1ms8qih2svpnw3v1rs9a035h2gy-tar-1.35.tar.xz.drv'
deleting '/nix/store/ijyf81yip32mpjzqpwpm8ck2sk8kmh2y-binutils-2.43.1.tar.bz2.drv'
deleting '/nix/store/g33khik5vs4hh0wpj0zdxp4mjxf9l8z0-0002-ax_check_glx.m4-properly-quote-m4_fatal.patch'
deleting '/nix/store/6xizqkp4bnhydwc7ihyqi93171gbj5n4-darwin-sdk-setup.bash'
deleting '/nix/store/nbsdqpfzh1jlpmh95s69b3iivfcvv3lh-config.sub-948ae97.drv'
deleting '/nix/store/al2qf1gbai7mz1ixbsw6idai0l2gf1v2-no-sys-dirs-5.40.0.patch'
deleting '/nix/store/7x6bimj6ipi6ag859gi2fc6by87x37j7-no-sys-dirs-riscv.patch'
deleting '/nix/store/bw6aa38615ww5karcn8kslsf5hxgz412-link-against-ncurses.patch'
deleting '/nix/store/slhbkbdi5hlmdxwmlrz61aazlr72fqbd-expat-2.6.4.tar.xz.drv'
deleting '/nix/store/6b9v7v02npab086yaba2j4yfqrph5mgp-utils.bash'
deleting '/nix/store/5fia0s7sl13hsqbhcmgmjpq84i0rqczs-glibc-2.40.tar.xz.drv'
deleting '/nix/store/lypyhrdqir7lhwhsvrr1cp85ywh3dhas-pkg-config-wrapper.sh'
deleting '/nix/store/1vvxrra5lfplz1w28c8fi59lakbr5ikg-fix-mix-flags-deps-libintl.patch'
deleting '/nix/store/xpplvxiwb4li2qd5nvhyd2mngrpna0ya-mangle-NIX_STORE-in-__FILE__.patch'
deleting '/nix/store/l4q7jsk9n0ys3qb31zafgzwakpwq0360-libssh2-1.11.1.tar.gz.drv'
deleting '/nix/store/yk1sqyhb757qc8s0kp0i9wy10v2vq8y7-use-etc-ssl-certs.patch'
deleting '/nix/store/gps9qrh99j7g02840wv5x78ykmz30byp-strip.sh'
deleting '/nix/store/f9hs49y4q8bvg4ffdiycbafd5r1gb13r-bash52-008.drv'
deleting '/nix/store/05q48dcd4lgk4vh7wyk330gr2fr082i2-bootstrap-tools.drv'
deleting '/nix/store/i9nx0dp1khrgikqr95ryy2jkigr4c5yv-unpack-bootstrap-tools.sh'
deleting '/nix/store/awl9cirmdhg3la4fgcd9hs1fdn7ifqr0-0001-libtool.m4-update-macos-version-detection-block.patch'
deleting '/nix/store/czgzq4viby3xkqf6lp0xi19msls8vja5-mpdecimal-4.0.0.tar.gz.drv'
deleting '/nix/store/r0nh13i6wlvw6k1g8p1px0vqmhxf5sif-0002-Remove-impure-dirs.patch'
deleting '/nix/store/ckzrg0f0bdyx8rf703nc61r3hz5yys9q-builder.sh'
deleting '/nix/store/1nxiwvixsmf8mqg06602a07pybrcdmc5-bash52-036.drv'
deleting '/nix/store/zi0m9pfmvy5lw89x7a8x674rm99i8qiq-setup-hook.sh'
deleting '/nix/store/qxz8v1gxrrw9j138k2ajl36vcajra8mb-isl-0.20.tar.xz.drv'
deleting '/nix/store/6602zq9jmd3r4772ajw866nkzn6gk1j0-sandbox.nix'
deleting '/nix/store/9m54l1bi5814x9cqznwlga7yfs5ipi6h-nuke-refs.sh'
deleting '/nix/store/p8grg9j6hvhggaxbbp55iq9pv52jzzlv-diagnostics-sandbox.lock'
deleting '/nix/store/3yar2pnvz7ll79z3jlzx09qnhrsi7zj5-automake-1.16.5.tar.xz.drv'
deleting '/nix/store/a0jhpi7k6xdw2w4k0lwbs6h6fjbxpb0x-fix-netrc-regression.patch'
deleting '/nix/store/8haph3ng4mgsqr6p4024vj8k6kg3mqc4-nix-locale-archive.patch'
deleting '/nix/store/qsr1742cyyh6mdq98n90w0dq5782m2b8-bash52-023.drv'
deleting '/nix/store/wb1w87wq6jsd9z4wdz7as6s7rcq9xd19-make-wrapper.sh'
deleting '/nix/store/wc9c8k7z5w5afdqvz7gjrjlaqf16wfpr-musl.patch'
deleting '/nix/store/r112dk8w7zvdjipki58ch00m825li7fq-virtualenv-permissions.patch'
deleting '/nix/store/7vafnx31pql69fwy9iw5060rilgpssgc-bash52-030.drv'
deleting '/nix/store/cx63ws8cdspziq3hw1456kzr7cz2x0lj-locales-builder.sh'
deleting '/nix/store/z7rvbcngls4p928an3ajiawypmhd9rw1-bash52-028.drv'
deleting '/nix/store/angvcbhbr5p8viv4zphsxxx5nl4zr1hi-patch-2.7.6.tar.xz.drv'
deleting '/nix/store/bamwxswxacs3cjdcydv0z7bj22d7g2kc-config.guess-948ae97.drv'
deleting '/nix/store/ymnhhrx4aqn1gw5w43bqdr7bkma6b5xa-bash52-021.drv'
deleting '/nix/store/a3s5h88yyh8nqxnqa27l5d934si9khb9-bash52-034.drv'
deleting '/nix/store/mnglr8rr7nl444h7p50ysyq8qd0fm1lm-dont-use-system-ld-so-preload.patch'
deleting '/nix/store/v7zbdi2mv0i7h0y06bsb3g8i45bxqxbq-bash52-016.drv'
deleting '/nix/store/sp6yk30dm539vy8l6xdd0b4abpsjlk9y-gawk-5.3.1.tar.xz.drv'
deleting '/nix/store/s53hsvwklglbrqx1ymwzfiz4vb8drqkb-pcre2-10.44.tar.bz2.drv'
deleting '/nix/store/12lvf0c7xric9cny7slvf9cmhypl1p67-patch-shebangs.sh'
deleting '/nix/store/026i5h3a3pg28dxgv1x90117z6diha3x-byacc-20240109.tgz.drv'
deleting '/nix/store/2c90gp52cvdprpj314d86qii9qil4fkb-gettext-0.21.1.tar.gz.drv'
deleting '/nix/store/pa83jbilxjpv5d4f62l3as4wg2fri7r7-always-search-rpath.patch'
deleting '/nix/store/7f26mgj9vx5izbkbfirkd4m0dyxlrkvv-platform-triplet-detection.patch'
deleting '/nix/store/69lyjyca86317hdsc1rwf3ahn7s5kiyn-no-relocs.patch'
deleting '/nix/store/vlbzwvyp59bgj0s6gh8ypxsh3jyj3anp-ed-1.20.2.tar.lz.drv'
deleting '/nix/store/h2fcbw7ghgn3i4qadszdp272w4dab7ln-lzip-setup-hook.sh'
deleting '/nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh'
deleting '/nix/store/mc5cx870f3x982gds5fq3p13k9z5rsj7-0001-No-impure-bin-sh.patch'
deleting '/nix/store/b1w7zbvm39ff1i52iyjggyvw2rdxz104-dont-use-system-ld-so-cache.patch'
deleting '/nix/store/g33nba865rxzc61s4m3f4pm7v9qbhayd-Abort_when_cleaning_up_fails.patch'
deleting '/nix/store/ql7jhf1wzhazxw4cw627zyls49xm5g3n-sed-4.9.tar.xz.drv'
deleting '/nix/store/dm81j9qdcdr4c458pqbc9wvq9ymgzk4m-setup-hook.sh'
deleting '/nix/store/5jrd75v747s76s16zxk59384xfcjqn58-bash-5.2.tar.gz.drv'
deleting '/nix/store/p3prlmdjdwlry48i4nmwkxp6qxdi28lm-pkg-config-static.patch'
deleting '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh'
deleting '/nix/store/6b29gjz7rj4mw0ch0vy2m6qrqipz2bbb-pkg-config-0.29.2.tar.gz.drv'
deleting '/nix/store/jxaa5p13rvgwbxm14yqmfxnj3rfj322f-bash52-037.drv'
deleting '/nix/store/g0gn91m56b267ncx05w93kihyqia39cm-builder.sh'
deleting '/nix/store/aazf105snicrlvyzzbdj85sx4179rpfp-set-source-date-epoch-to-latest.sh'
deleting '/nix/store/7kw224hdyxd7115lrqh9a4dv2x8msq2s-fix-x64-abi.patch'
deleting '/nix/store/mrzpfh0ml9k07sw019ydagbb2z1q4sxz-add-flags.sh'
deleting '/nix/store/156yvnw4g1h0gv1s8p7bray6hyn43f8q-mpc-1.3.1.tar.gz.drv'
deleting '/nix/store/g0k0n4hv3c01pxrri7vf5dcvjww1zwfc-hook.sh'
deleting '/nix/store/4r8s8hcwyvvvnpcncps09zscqkh5qapx-no-install-statedir.patch'
deleting '/nix/store/4hih7x95qrxm1732g0v0qn4g6s2kg25x-nixpkgs-unstable'
deleting '/nix/store/644pj5w8bjcbgf3p9sjxy0qgbzhpk22n-nghttp2-1.64.0.tar.bz2.drv'
deleting '/nix/store/a68j9bys24cr3m1bixy4bz92q27bmx7k-bash52-005.drv'
deleting '/nix/store/001gp43bjqzx60cg345n2slzg7131za8-nix-nss-open-files.patch'
deleting '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh'
deleting '/nix/store/8p3z4jsrxr5ck92iasc9bc7bmapb5mmg-CVE-2018-6951.patch'
deleting '/nix/store/9577hmdlmhki67cg8ar85cvidyg7xr7p-gcc-12-no-sys-dirs.patch'
deleting '/nix/store/q5lq5b7c0i31zxjgm6j5zhp8pg76mwi1-patchelf-0.15.0.tar.bz2.drv'
deleting '/nix/store/04g2cfw32vp7d48az69mldz92wjlkp3i-xz-5.6.3.tar.xz.drv'
deleting '/nix/store/0y5flakfvnf813cwrr8rygf1jnk0gfnc-CVE-2019-13636.patch'
deleting '/nix/store/fnrgd1ca2cs2mzy1x95z5c3yi8nsyw2s-bash52-019.drv'
deleting '/nix/store/kq0mb8gd9zmblcf568vc6k6dlgmp6l09-libunistring-1.2.tar.gz.drv'
deleting '/nix/store/nb73l2nmcxr6f37qs6q3zwj6b72s7rc6-diagnostics-sandbox.lock'
deleting '/nix/store/sj0qllprnrmk1cqnnk57vvn2cqgjynbx-reenable_DT_HASH.patch'
deleting '/nix/store/q56k4qz1l82x5nr8dv2l4jc0bwn9bzgx-label-before-cfi_startproc.patch'
deleting '/nix/store/xv4333kfggq3zn065a3pwrj7ddbs4vzg-coreutils-9.5.tar.xz.drv'
deleting '/nix/store/sq4h6bqjx12v9whvm65pjss25hg1538q-nix-ssl-cert-file.patch'
deleting '/nix/store/j7bd2a4fafw9rchrf1ag9xf920g37kk7-link-libiconv.patch'
deleting '/nix/store/nx77l9qwx680kjsv12sv188mj825cqqb-0003-Do-not-search-for-a-C-compiler-and-set-MAKE_CXX.patch'
deleting '/nix/store/ah8jsm934168mfnmkf54fh0ms38k6nsm-bash52-015.drv'
deleting '/nix/store/ny42y6hs4p294rvnrwbmrpwzqghw2816-gettext-setup-hook.sh'
deleting '/nix/store/z0sjg5c7g1iqb4x5vyiqcm5n68mb5x5p-0001-Remove-unused-function-after_eq.patch'
deleting '/nix/store/f4bvwqvj0y3z6blvh0knz71a8yq1c45p-requires-private.patch'
deleting '/nix/store/jgl4npagbpwyrbfazhxmaq9rl76bsb4k-curl-8.11.0.tar.xz.drv'
deleting '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh'
deleting '/nix/store/rz74q7y5r38in9zdzq9r2brf5yh6lpy5-bash52-007.drv'
deleting '/nix/store/6k05dfl68y2m382xd5hanfvj7j8c73p1-bash52-003.drv'
deleting '/nix/store/sz6rhpf50kqh75fhqwl75q6dm6fr9xyd-CVE-2018-1000156.patch'
deleting '/nix/store/jcyy6wlrjyx1prw1l5aq3s7wj40906sa-bzip2-1.0.6.2-autoconfiscated.patch.drv'
deleting '/nix/store/ckjykyfw30zj1n3lcca9lwm2lzd7azdb-setup-hook.sh'
deleting '/nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh'
deleting '/nix/store/klfl82nqgac8fyl7z83q1i7rngka20d3-file-5.45.tar.gz.drv'
deleting '/nix/store/w6gibnw6js9pxsa8n3fiq0hly0pvkm4p-bash52-025.drv'
deleting '/nix/store/130xp3xbhxwms383bbf7wpcvc6ksjjnk-findutils-4.10.0.tar.xz.drv'
deleting '/nix/store/rslimz8ksg82kp85hfmjrinhpi3s8mzn-bash52-032.drv'
deleting '/nix/store/j7yk5caljxg94g6kn285hz5ysiyv1bmi-parallel.patch'
deleting '/nix/store/nayxpac1fisgp2xf519mcjch70dwxrah-bash52-018.drv'
deleting '/nix/store/9rq2ab2wl3ia1ism6zjvdxcnpv9s9rgn-add-hardening.sh'
deleting '/nix/store/88a62ypvi5xpa3m8znhrl6l7jc307i8r-conf-symlink.patch'
deleting '/nix/store/xjkydxc0n24mwxp8kh4wn5jq0fppga9k-bootstrap-tools.tar.xz.drv'
deleting '/nix/store/0m4y3j4pnivlhhpr5yqdvlly86p93fwc-busybox.drv'
deleting '/nix/store/6xsvq13p876400xvczdms66a720nn08n-acl-2.3.2.tar.gz.drv'
deleting '/nix/store/0df8rz15sp4ai6md99q5qy9lf0srji5z-0001-Revert-libtool.m4-fix-nm-BSD-flag-detection.patch'
deleting '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh'
deleting '/nix/store/z2rvjzfm2crd6hs6qfdwwq4bhk27zw9r-perl-5.40.0.tar.gz.drv'
deleting '/nix/store/vgjfnqbxgxa8a5575bhq07nm35b2l31m-bison-3.8.2.tar.gz.drv'
deleting '/nix/store/632b0y5mkcdwbsw2g3xh5qznw2vv5axr-ppc-musl.patch'
deleting '/nix/store/lk7xz55km4sq3xn853kmf656b0dfxqvq-lzip-1.24.1.tar.gz.drv'
deleting '/nix/store/8y6nd0hmkkq8yfalynzh4s6h46sgsan6-bash52-017.drv'
deleting '/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh'
deleting '/nix/store/m9qvr6m0bylrjqb5ind6hfzsax14xys9-gnu-binutils-strip-wrapper.sh'
deleting '/nix/store/b0lkqny7acc9p60wjfhj2f244xgjv8lb-linux-6.10.tar.xz.drv'
deleting '/nix/store/yq0lz1byj4v2rym2ng23a3nj4n6pvqdj-pgrp-pipe-5.patch'
deleting '/nix/store/ag9cnvb4pcgcj0rbkzva6qdz54fnr8fg-bash52-012.drv'
deleting '/nix/store/kf7fzzm4nz10qaxv9lpjwqqxxgbrz50m-32-bit-time_t.patch'
deleting '/nix/store/cklrwbwi889pp2fdsswdjvn12sdy5i5j-openssl-disable-kernel-detection.patch'
deleting '/nix/store/v7ihfx32zv7bdha6i9dd6a3r0knzs8j3-setup-hook.sh'
deleting '/nix/store/96rvfw5vlv1hwwm9sdxhdkkpjyym6p2x-update-autotools-gnu-config-scripts.sh'
deleting '/nix/store/2gcllnmq329byln64bfzw47kzi1bdvv5-fix-build-with-only-C-locale-5.40.0.patch'
deleting '/nix/store/y85aypmvmg9gnbsvmffa40znd0s57770-attr-2.5.2.tar.gz.drv'
deleting '/nix/store/rwvhsf6hna1j3sgw20f1b4gl9mp5w9vr-libtool-2.4.7.tar.gz.drv'
deleting '/nix/store/xsknmwfnbkh1m643isys7f61z93k5rp0-avr-size.patch'
deleting '/nix/store/0v7w62jca8nw6w31zs4y2805jj670f6p-no-arch_only-8.2.patch'
deleting '/nix/store/2j0fmwgm5ybgnc8jprc4ypcxw6s4r2nv-Allow_input_files_to_be_missing_for_ed-style_patches.patch'
deleting '/nix/store/p1pv3xh6x64mlmnjc3lyhw7baapljajg-0003-ax_switch_flags.m4-properly-quote-m4_fatal.patch'
deleting '/nix/store/c4akajrb4jg50k72jw7zfbyv8z139ri0-setup-hook.sh'
deleting '/nix/store/dwnaalvf1ch2b37si1hcxx3x3v0ybnck-bash52-024.drv'
deleting '/nix/store/yqwx9yln5i68nw61mmp9gz066yz3ri99-0001-msginit-Do-not-use-POT-Creation-Date.patch'
deleting '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh'
deleting '/nix/store/hv81fnwf06mhffinfzln6a8rdfl7kg5n-bash52-020.drv'
deleting '/nix/store/l81h2pb34h1hrgf8hgayzl28zzmqnfm0-bash52-010.drv'
deleting '/nix/store/qdv28rq2xlj68lsgrar938dq38v2lh5b-multiuser.nix'
deleting '/nix/store/lrxrk69f3d3rpxf43sfibv3cfwwlc2ra-bash52-026.drv'
deleting '/nix/store/1ksmnsr3m6paw8gs7jp9b623agzdrqi2-add-flags.sh'
deleting '/nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh'
deleting '/nix/store/iiqz3jwhkshha7g3md65nxfc92m3w7my-0001-ax_check_gl.m4-properly-quote-m4_fatal.patch'
deleting '/nix/store/6xwbrn3wdxwyphpj64rphhms41vxvqxb-bash52-009.drv'
deleting '/nix/store/zf3h4lhji5ikx6wqsidx68c1n3ydqiml-diffutils-3.10.tar.xz.drv'
deleting '/nix/store/iz6i2a83s2cb8wdfmcbm11jpdq01p8cg-which-2.21.tar.gz.drv'
deleting '/nix/store/ycwm35msmsdi2qgjax1slmjffsmwy8am-write-mirror-list.sh'
deleting '/nix/store/ppm26x60zvaqzapqjnp540rislz3ml48-autoreconf.sh'
deleting '/nix/store/vrclyhcrdz4syscfqryq26impc88c48f-gzip-1.13.tar.xz.drv'
deleting '/nix/store/v9034cqc4h5bm10z4vz3n1q2n55grv5y-role.bash'
deleting '/nix/store/xrw086zw3xqsvy9injgil8n2qdkvkpff-0001-Revert-libtool.m4-fix-the-NM-nm-over-here-B-option-w.patch'
deleting '/nix/store/xrx0sjh4966xq6x6yw41r2sdw40x32j5-autoconf-archive-2024.10.16.tar.xz.drv'
deleting '/nix/store/sqbhaaayam0xw3a3164ks1vvbrdhl9vq-deterministic.patch'
deleting '/nix/store/lqxznznzm6v8r2z4k8jsdph11l6970nc-bash52-022.drv'
deleting '/nix/store/j4lk1cij380x7qn4phv82pz6acn2i12r-info.sh'
deleting '/nix/store/cxh8cwlp0z4a7xl6bk7zsqr7ci1hzdq6-make-4.4.1.tar.gz.drv'
deleting '/nix/store/rxgi2l6jrgd5xmrrsbcv5cwi558lb36m-CVE-2019-13638-and-CVE-2018-20969.patch'
deleting '/nix/store/mhrxc5w6drwi4m5ykbdrayz7869i9mx9-bzip2-1.0.8.tar.gz.drv'
deleting '/nix/store/4cmjzk8yr6i5vls5d2050p653zzdvmvp-setup-hook.sh'
deleting '/nix/store/i2pfgljh1az3v0xga8s4kvn7l1kb1nj4-autoconf-2.72.tar.xz.drv'
deleting '/nix/store/7j0r588ymbv6dq8c98wvzklcsk42wvpb-bash52-014.drv'
deleting '/nix/store/npqvgz8c8w9kpj1gdma5bbn0pdkisyzp-CVE-2018-6952.patch'
deleting '/nix/store/25ia79m53fjsdw9np26k27ck3a919ifi-openssl-3.3.2.tar.gz.drv'
deleting '/nix/store/pk6bdyws4n421ak7mwvk5nkg0li7cvq2-bash52-004.drv'
deleting '/nix/store/30qhz45nwgfyns13ijq0nwrsjp8m7ypa-relaxedsandbox.nix'
deleting '/nix/store/rr4cpsx1w84h2l1h71ch8spcp221kzkr-m4-1.4.19.tar.bz2.drv'
deleting '/nix/store/disivhy684rpy5lzrcmylgj0xbvflhx3-bash52-027.drv'
deleting '/nix/store/bkkp2g7wfwmd3rmzcf4glrkp74ply11x-fix-netrc-regression-2.patch'
deleting '/nix/store/1crz16gbhsxjxkyp2zxjf5y7a224m4j7-bash52-033.drv'
deleting '/nix/store/2m9sxavc1d5hjhf6fjpn90zzp6w0zbmr-krb5-1.21.3.tar.gz.drv'
deleting '/nix/store/yrwphan7mi168vnn4bamwg5795rjbkzh-ld-wrapper.sh'
deleting '/nix/store/0zmg36dmrb9v7bc7b7igmi434nhi1qp9-setup-hook.sh'
deleting '/nix/store/p2fp6i7hjx9af1wbwr32k217wp2dxmiw-absolute-paths.diff'
deleting unused links...
note: currently hard linking saves -0.00 MiB
501 store paths deleted, 347.96 MiB freed
参考
Nix : the package manager
https://nixos.org/download/CommandReference | Nix Reference Manual
https://nix.dev/manual/nix/2.18/command-ref/command-ref
おわりに
Nix
パッケージマネージャを試してみた。
簡単にソフトを試すだけなら、これでいいね。
機能もいろいろあるようなので、環境づくりとかもやってみたい。
フレークとか、nix-shell
によるセットアップが次の目標かな~。NixOS
を使うのはこのあたり慣れてきてからかな。