I’m repackaging a Debian package for NixOS, and struggling with its Perl dependencies. Right now the problem is I can’t seem to find a package for the (AFAIR extremely common) HTTP::Request module. I tried installing HTTPRequestAsCGI, but that didn’t seem to work as a straight replacement:
Can’t locate HTTP/Request.pm in @INC (you may need to install the HTTP::Request module)
Does HTTPRequestAsCGI provide the HTTP::Request API? If so, how do I patch the existing sources to use it? If not, do I need to package HTTP::Request as well? Use something with a completely different name? Something else entirely?
- host os:
Linux 4.19.74, NixOS, 20.03pre193781.d484f2b7fc0 (Markhor)
nix-env (Nix) 2.3