Revert "perlPackages: add default meta.mainProgram (#176398)"

This reverts commit ff7b216dcf.
This commit is contained in:
Malo Bourgon 2022-06-07 10:21:40 -07:00
parent 7f1a9610cb
commit 61beb33b83

View file

@ -35,7 +35,6 @@ lib.warnIf (attrs ? name) "builtPerlPackage: `name' (\"${attrs.name}\") is depre
(let
defaultMeta = {
homepage = "https://metacpan.org/release/${lib.getName attrs}"; # TODO: phase-out `attrs.name`
mainProgram = attrs.pname or (builtins.parseDrvName attrs.name).name;
platforms = perl.meta.platforms;
};