Turns out that in Nixpkgs, derivation is actually called without a ‘name’ argument in some places :-(