mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 05:23:54 +00:00
perlPackages.Appcpanminus: fix https hotpatch
- Add replace missing `cpan.metacpan.org` URL - Use replace-fail instead of replace
This commit is contained in:
parent
364590859e
commit
cd933d29fa
@ -844,10 +844,11 @@ with self; {
|
|||||||
# Use TLS endpoints for downloads and metadata by default
|
# Use TLS endpoints for downloads and metadata by default
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace bin/cpanm \
|
substituteInPlace bin/cpanm \
|
||||||
--replace http://www.cpan.org https://www.cpan.org \
|
--replace-fail http://www.cpan.org https://www.cpan.org \
|
||||||
--replace http://backpan.perl.org https://backpan.perl.org \
|
--replace-fail http://cpan.metacpan.org https://cpan.metacpan.org \
|
||||||
--replace http://fastapi.metacpan.org https://fastapi.metacpan.org \
|
--replace-fail http://backpan.perl.org https://backpan.perl.org \
|
||||||
--replace http://cpanmetadb.plackperl.org https://cpanmetadb.plackperl.org
|
--replace-fail http://fastapi.metacpan.org https://fastapi.metacpan.org \
|
||||||
|
--replace-fail http://cpanmetadb.plackperl.org https://cpanmetadb.plackperl.org
|
||||||
'';
|
'';
|
||||||
propagatedBuildInputs = [ IOSocketSSL ];
|
propagatedBuildInputs = [ IOSocketSSL ];
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user