nix-generate-from-cpan: remove unkown license

Leave license empty when it is not provided. This prevents packages from
failing to build because the license is set to
`stdenv.lib.licenses.unkown`.

There will still be a warning about the unkown license.
This commit is contained in:
ydlr 2020-03-13 23:46:27 -05:00
parent 10132c6602
commit 5e2beafd02

@ -164,7 +164,7 @@ Readonly::Hash my %LICENSE_MAP => (
# License not provided in metadata.
unknown => {
licenses => [qw( unknown )],
licenses => [],
amb => 1
}
);