今日覚えたNixまとめ
■参考
■インストール
これ使ってNixをインストール & PATHを設定した
設定したPATH
export PATH="${PATH}:/nix/var/nix/profiles/default/bin"
■ビルド
- default.nixを作る
- nix-buildコマンドでビルドする
- /nix/store/XXXXX/bin/以下に成果物が出来る
■注意
/nix/store/はビルドした成果物が世代ごとに溜まっているので、
"nix store gc" で定期的にクリーンアップする必要がある

Zenn
Nixのセットアップ|Nix入門: ハンズオン編
GitHub
GitHub - DeterminateSystems/nix-installer: Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 7 million installs.
Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 7 million installs. - DeterminateSystems/nix-installer