The Nix Package Manager
Preface
Introduction
1.
Installation
2.
Derivations
2.1.
Create a Derivation
2.2.
Realise a Derivation
2.3.
Using Derivations from Nix
3.
The Nix Language
3.1.
Language Basics
3.2.
Functions
3.3.
Imports and callPackage
3.4.
Best Practices
3.5.
Common Mistakes
4.
Building a Nix Package
4.1.
Simple C program
4.2.
Stdenv
4.3.
Phases
4.4.
Build Dependencies
4.5.
Runtime Dependencies
4.6.
Building Packages for Other Toolchains
4.7.
Building Packages for Other Languages
4.8.
Patching
4.9.
Multiple Outputs
Light (default)
Rust
Coal
Navy
Ayu
Nix-Book
Multiple Outputs
Why multiple outputs
Closure size
Cross Compilation
How to Leverage
Any footguns
placeholder