Perl script with shebang used in a CUPS printing pipeline: no such file or directory

The best thing would be to write a derivation for the script you got from IT. As part of the build, Nix will rewrite the shebangs to point to the appropriate Perl in the Nix store.