Conversation
perl -0777 -i.original -pe 's|(fetchurl {\n url = "mirror://cpan/authors/id/./.{2}/([^/]*)/(.*?))\n };\n };\n|\1\n identifiers.purlParts = {\n type = "cpan";\n spec = "\2/\${pname}@\${version}";\n };\n };\n };\n|igs' pkgs/top-level/perl-packages.nix
sed -i 's/buildPerlPackage {/buildPerlPackage rec {/g' pkgs/top-level/perl-packages.nix
|
your fear is that the lines below the fetchurl may get missed for such a scenario? what about the following? drv.src.meta may get referenced in the same way as python and others on the main PR? The lines which will get changed are near to each other, but the chance of backport cherry-pick conflicts is higher as well What about backporting the stdenv.identifiers check, so we could theoretically backport the identifiers on fetchurl without having them actively accessed? Would you support something? |
continue perl aspect of #421125
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.