5.6 Debugging failing builds
Lesson 33 of 37 · 10:15
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.