The Nix lectures, part 2: Derivations

From builtins.derivation to stdenv.mkDerivation, and the language-specific builders. All you need to know to start packaging software with Nix.