Recent versions had increased the amount of indentation, which stopped this applying. The next version will also change the case, so I've adjusted in advance for that too.
pname
version
mkDerivation
name