Hi,
I’m using the auto-multiple-choice NixOS package. auto-multiple-choice is written in Perl, and normally allows printing using CUPS, via the Net::CUPS module. Unfortunately, when I try printing, I get the error:
You chose the printing method ‘CUPS’ but it is not available (Perl module(s) missing: Net::CUPS Net::CUPS::PPD).
I tried installing Net::CUPS (perl540Packages.NetCUPS in nixpkgs), both via
nix-shell -p 'perl.withPackages (p: with p; [
NetCUPS
])'
and
nix-shell -p perl540Packages.NetCUPS
and then running auto-multiple-choice within that nix-shell, same error.
I also tried installing the package globally adding
(perl.withPackages (p: with p; [
NetCUPS
]))
to environment.systemPackages in configuration.nix, still the same error. Apparently, the installed auto-multiple-choice executable hardcodes a perl installation that doesn’t have the NetCUPS package installed, and installing it elsewhere doesn’t modify this (which is cool for reproducibility, but here I have a reproducible error :-\).
What can I do to let auto-multiple-choice access the Net::CUPS package? Is this a bug in the auto-multiple-choice nix package (which should perhaps depend on NetCUPS)?
Thanks in advance,