treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
@vcunat fixed and cleaned this a little.