I’m trying to package a Perl application. I’m now able to run it, but when running
/nix/store/*-tks-1.0.32/bin/tks --list=week to retrieve my timesheets it prints an error message like this:
Got non-200 (501) status from mechanize: Error GETing https://[…]: Protocol scheme ‘https’ is not supported (LWP::Protocol::https not installed) at /nix/store/*-tks-1.0.32/lib/perl5/site_perl/TKS/Backend/WRMSWeb.pm line 60.
I tried fixing it by installing LWPProtocolHttps, but I’m still getting the same error. I also tried installing CryptSSLeay as suggested elsewhere, but that didn’t help. How do I make LWP::Protocol::https actually work?
I verified that the URL in question gives an HTTP 200 OK response in a browser.