Nix 101 Course / Section 5: Packaging real software with stdenv.mkDerivation
Premium

5.6 Debugging failing builds

Lesson 33 of 37 · 10:15

placeholder thumbnail

Sign in to watch this lesson

About this lesson

Builds fail — learn to fix them without frustration. nix-build --keep-failed to inspect the wreckage, NIX_DEBUG when you need more detail, and pkgs.breakpointHook (Linux only) to drop into an interactive shell inside the failed build. Plus a taxonomy of the common errors and the first thing to check for each.