1.
Introduction
2.
Quick Start
3.
Installation
❱
3.1.
Supported Platforms
3.2.
Installing a Binary Distribution
3.3.
Installing Lix from Source
❱
3.3.1.
Prerequisites
3.3.2.
Obtaining a Source Distribution
3.3.3.
Building Lix from Source
3.4.
Using Lix within Docker
3.5.
Security
❱
3.5.1.
Single-User Mode
3.5.2.
Multi-User Mode
3.6.
Environment Variables
3.7.
Upgrading Lix
3.8.
Uninstalling Lix
4.
Package Management
❱
4.1.
Basic Package Management
4.2.
Profiles
4.3.
Garbage Collection
❱
4.3.1.
Garbage Collector Roots
4.4.
Sharing Packages Between Machines
❱
4.4.1.
Serving a Nix store via HTTP
4.4.2.
Copying Closures via SSH
4.4.3.
Serving a Nix store via SSH
4.4.4.
Serving a Nix store via S3
5.
Nix Language
❱
5.1.
Data Types
5.2.
Language Constructs
❱
5.2.1.
String interpolation
5.3.
Operators
5.4.
Derivations
❱
5.4.1.
Advanced Attributes
5.5.
Built-in Constants
5.6.
Built-in Functions
6.
Advanced Topics
❱
6.1.
Remote Builds
6.2.
Tuning Cores and Jobs
6.3.
Verifying Build Reproducibility
6.4.
Using the post-build-hook
7.
Command Reference
❱
7.1.
Common Options
7.2.
Common Environment Variables
7.3.
Main Commands
❱
7.3.1.
nix-build
7.3.2.
nix-shell
7.3.3.
nix-store
❱
7.3.3.1.
nix-store --add-fixed
7.3.3.2.
nix-store --add
7.3.3.3.
nix-store --delete
7.3.3.4.
nix-store --dump-db
7.3.3.5.
nix-store --dump
7.3.3.6.
nix-store --export
7.3.3.7.
nix-store --gc
7.3.3.8.
nix-store --generate-binary-cache-key
7.3.3.9.
nix-store --import
7.3.3.10.
nix-store --load-db
7.3.3.11.
nix-store --optimise
7.3.3.12.
nix-store --print-env
7.3.3.13.
nix-store --query
7.3.3.14.
nix-store --read-log
7.3.3.15.
nix-store --realise
7.3.3.16.
nix-store --repair-path
7.3.3.17.
nix-store --restore
7.3.3.18.
nix-store --serve
7.3.3.19.
nix-store --verify-path
7.3.3.20.
nix-store --verify
7.3.4.
nix-env
❱
7.3.4.1.
nix-env --delete-generations
7.3.4.2.
nix-env --install
7.3.4.3.
nix-env --list-generations
7.3.4.4.
nix-env --query
7.3.4.5.
nix-env --rollback
7.3.4.6.
nix-env --set-flag
7.3.4.7.
nix-env --set
7.3.4.8.
nix-env --switch-generation
7.3.4.9.
nix-env --switch-profile
7.3.4.10.
nix-env --uninstall
7.3.4.11.
nix-env --upgrade
7.4.
Utilities
❱
7.4.1.
nix-channel
7.4.2.
nix-collect-garbage
7.4.3.
nix-copy-closure
7.4.4.
nix-daemon
7.4.5.
nix-hash
7.4.6.
nix-instantiate
7.4.7.
nix-prefetch-url
7.5.
Experimental Commands
❱
7.5.1.
nix
7.5.2.
nix build
7.5.3.
nix bundle
7.5.4.
nix config
7.5.5.
nix config show
7.5.6.
nix copy
7.5.7.
nix daemon
7.5.8.
nix derivation
7.5.9.
nix derivation add
7.5.10.
nix derivation show
7.5.11.
nix develop
7.5.12.
nix doctor
7.5.13.
nix edit
7.5.14.
nix eval
7.5.15.
nix flake
7.5.16.
nix flake archive
7.5.17.
nix flake check
7.5.18.
nix flake clone
7.5.19.
nix flake info
7.5.20.
nix flake init
7.5.21.
nix flake lock
7.5.22.
nix flake metadata
7.5.23.
nix flake new
7.5.24.
nix flake prefetch
7.5.25.
nix flake show
7.5.26.
nix flake update
7.5.27.
nix fmt
7.5.28.
nix hash
7.5.29.
nix hash file
7.5.30.
nix hash path
7.5.31.
nix hash to-base16
7.5.32.
nix hash to-base32
7.5.33.
nix hash to-base64
7.5.34.
nix hash to-sri
7.5.35.
nix help
7.5.36.
nix help-stores
7.5.37.
nix key
7.5.38.
nix key convert-secret-to-public
7.5.39.
nix key generate-secret
7.5.40.
nix log
7.5.41.
nix nar
7.5.42.
nix nar cat
7.5.43.
nix nar dump-path
7.5.44.
nix nar ls
7.5.45.
nix path-info
7.5.46.
nix print-dev-env
7.5.47.
nix profile
7.5.48.
nix profile diff-closures
7.5.49.
nix profile history
7.5.50.
nix profile install
7.5.51.
nix profile list
7.5.52.
nix profile remove
7.5.53.
nix profile rollback
7.5.54.
nix profile upgrade
7.5.55.
nix profile wipe-history
7.5.56.
nix realisation
7.5.57.
nix realisation info
7.5.58.
nix registry
7.5.59.
nix registry add
7.5.60.
nix registry list
7.5.61.
nix registry pin
7.5.62.
nix registry remove
7.5.63.
nix repl
7.5.64.
nix run
7.5.65.
nix search
7.5.66.
nix shell
7.5.67.
nix store
7.5.68.
nix store add-file
7.5.69.
nix store add-path
7.5.70.
nix store cat
7.5.71.
nix store copy-log
7.5.72.
nix store copy-sigs
7.5.73.
nix store delete
7.5.74.
nix store diff-closures
7.5.75.
nix store dump-path
7.5.76.
nix store gc
7.5.77.
nix store ls
7.5.78.
nix store make-content-addressed
7.5.79.
nix store optimise
7.5.80.
nix store path-from-hash-part
7.5.81.
nix store ping
7.5.82.
nix store prefetch-file
7.5.83.
nix store repair
7.5.84.
nix store sign
7.5.85.
nix store verify
7.5.86.
nix upgrade-nix
7.5.87.
nix why-depends
7.6.
Files
❱
7.6.1.
nix.conf
7.6.2.
Profiles
❱
7.6.2.1.
manifest.nix
7.6.2.2.
manifest.json
7.6.3.
Channels
7.6.4.
Default Nix expression
8.
Architecture and Design
❱
8.1.
File System Object
9.
Protocols
❱
9.1.
Serving Tarball Flakes
9.2.
Derivation "ATerm" file format
10.
Glossary
11.
Contributing
❱
11.1.
Hacking
11.2.
Testing
11.3.
Experimental Features
11.4.
CLI guideline
11.5.
C++ style guide
12.
Release Notes
❱
12.1.
Upcoming release
12.2.
Lix 2.90 (2024-07-10)
12.3.
Nix 2.18 (2023-09-20)
12.4.
Nix 2.17 (2023-07-24)
12.5.
Nix 2.16 (2023-05-31)
12.6.
Nix 2.15 (2023-04-11)
12.7.
Nix 2.14 (2023-02-28)
12.8.
Nix 2.13 (2023-01-17)
12.9.
Nix 2.12 (2022-12-06)
12.10.
Nix 2.11 (2022-08-25)
12.11.
Nix 2.10 (2022-07-11)
12.12.
Nix 2.9 (2022-05-30)
12.13.
Nix 2.8 (2022-04-19)
12.14.
Nix 2.7 (2022-03-07)
12.15.
Nix 2.6 (2022-01-24)
12.16.
Nix 2.5 (2021-12-13)
12.17.
Nix 2.4 (2021-11-01)
12.18.
Nix 2.3 (2019-09-04)
12.19.
Nix 2.2 (2019-01-11)
12.20.
Nix 2.1 (2018-09-02)
12.21.
Nix 2.0 (2018-02-22)
12.22.
Nix 1.11.10 (2017-06-12)
12.23.
Nix 1.11 (2016-01-19)
12.24.
Nix 1.10 (2015-09-03)
12.25.
Nix 1.9 (2015-06-12)
12.26.
Nix 1.8 (2014-12-14)
12.27.
Nix 1.7 (2014-04-11)
12.28.
Nix 1.6.1 (2013-10-28)
12.29.
Nix 1.6 (2013-09-10)
12.30.
Nix 1.5.2 (2013-05-13)
12.31.
Nix 1.5 (2013-02-27)
12.32.
Nix 1.4 (2013-02-26)
12.33.
Nix 1.3 (2013-01-04)
12.34.
Nix 1.2 (2012-12-06)
12.35.
Nix 1.1 (2012-07-18)
12.36.
Nix 1.0 (2012-05-11)
12.37.
Nix 0.16 (2010-08-17)
12.38.
Nix 0.15 (2010-03-17)
12.39.
Nix 0.14 (2010-02-04)
12.40.
Nix 0.13 (2009-11-05)
12.41.
Nix 0.12 (2008-11-20)
12.42.
Nix 0.11 (2007-12-31)
12.43.
Nix 0.10.1 (2006-10-11)
12.44.
Nix 0.10 (2006-10-06)
12.45.
Nix 0.9.2 (2005-09-21)
12.46.
Nix 0.9.1 (2005-09-20)
12.47.
Nix 0.9 (2005-09-16)
12.48.
Nix 0.8.1 (2005-04-13)
12.49.
Nix 0.8 (2005-04-11)
12.50.
Nix 0.7 (2005-01-12)
12.51.
Nix 0.6 (2004-11-14)
12.52.
Nix 0.5 and earlier
Light
Rust
Coal
Navy
Ayu
Lix Reference Manual
This section lists advanced topics related to builds and builds performance