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

4.6 Avoiding unnecessary rebuilds

Lesson 27 of 27 · 5:07

placeholder thumbnail

Sign in to watch this lesson

About this lesson

Our minimal mini-hello recipe has a flaw: it rebuilds even when nothing meaningful changed. We dig into why that is and fix it — a first taste of how Nix decides what needs rebuilding and how to keep your builds cached.