1. The Nix Package Manager
  2. Preface
  3. Introduction
  4. 1. Installation
  5. 2. Derivations
    1. 2.1. Create a Derivation
    2. 2.2. Realise a Derivation
    3. 2.3. Using Derivations from Nix
  6. 3. The Nix Language
    1. 3.1. Language Basics
    2. 3.2. Functions
    3. 3.3. Imports and callPackage
    4. 3.4. Best Practices
    5. 3.5. Common Mistakes
  7. 4. Building a Nix Package
    1. 4.1. Simple C program
    2. 4.2. Stdenv
    3. 4.3. Phases
    4. 4.4. Build Dependencies
    5. 4.5. Runtime Dependencies
    6. 4.6. Building Packages for Other Toolchains
    7. 4.7. Building Packages for Other Languages
    8. 4.8. Patching
    9. 4.9. Multiple Outputs

Nix-Book

Phases