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

5.4 The build phases

Lesson 31 of 37 · 9:58

placeholder thumbnail

Sign in to watch this lesson

About this lesson

unpack, patch, configure, build, check, install, fixup: each one a hook with a sensible default, each one yours to override or extend with pre* and post*. Plus the escape hatches — dontUnpack, dontBuild, doCheck — for the projects that refuse to follow the script.