Nix 101 Course / Section 4: How Nix actually builds: sandbox → derivation → hash → store
Premium

4.5 The store as the consequence

Lesson 26 of 27 · 14:56

placeholder thumbnail

Sign in to watch this lesson

About this lesson

Walk through a real /nix/store/<hash>-<name> path and trace its dependencies with nix-store --query --tree. Runtime versus build-time dependencies, and the neat trick behind it all: Nix scans output binaries for store-path references to detect what a program truly needs at runtime.