perlPackages.Appcpanminus: use TLS endpoints by default
This commit is contained in:
@@ -734,6 +734,14 @@ let
|
||||
url = "mirror://cpan/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7045.tar.gz";
|
||||
sha256 = "1779w07zxlgfk35s24ksr7k9azd5yl8sbb48y1aaph7y4gf4lkmc";
|
||||
};
|
||||
# Use TLS endpoints for downloads and metadata by default
|
||||
preConfigure = ''
|
||||
substituteInPlace bin/cpanm \
|
||||
--replace http://www.cpan.org https://www.cpan.org \
|
||||
--replace http://backpan.perl.org https://backpan.perl.org \
|
||||
--replace http://fastapi.metacpan.org https://fastapi.metacpan.org \
|
||||
--replace http://cpanmetadb.plackperl.org https://cpanmetadb.plackperl.org
|
||||
'';
|
||||
propagatedBuildInputs = [ IOSocketSSL ];
|
||||
meta = {
|
||||
homepage = "https://github.com/miyagawa/cpanminus";
|
||||
|
||||
Reference in New Issue
Block a user