Change:
url = "mirror://cpan/authors/id/B/BR/BRMILLER/LaTeXML-0.8.4.tar.gz"; sha256 = "92599b45fb587ac14b2ba9cc84b85d9ddc2deaf1cbdc2e89e7a6559e1fbb34cc"; }; <del> propagatedBuildInputs = [ shortenPerlShebang ArchiveZip DBFile FileWhich IOString ImageSize JSONXS LWP ParseRecDescent PodParser TextUnidecode XMLLibXSLT ]; doCheck = false;  # epub test fails postInstall = '' shortenPerlShebang $out/bin/latexml shortenPerlShebang $out/bin/latexmlc shortenPerlShebang $out/bin/latexmlfind shortenPerlShebang $out/bin/latexmlmath shortenPerlShebang $out/bin/latexmlpost </del> <ins> propagatedBuildInputs = [ ArchiveZip DBFile FileWhich IOString ImageSize JSONXS LWP ParseRecDescent PodParser TextUnidecode XMLLibXSLT ]; preCheck = '' rm t/931_epub.t # epub test fails ''; nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang; # shebangs need to be patched before executables are copied to $out preBuild = '' patchShebangs bin/ '' + stdenv.lib.optionalString stdenv.isDarwin '' for file in bin/*; do shortenPerlShebang "$file" done </ins> ''; meta = { description = "Transforms TeX and LaTeX into XML/HTML/MathML";

Discussion:
The command (or any other invocation of ) fails, with Can't locate in (you may need to install the LaTeXML::Core module) ( contains: /nix/store/8v612layw8hrwvl7wrqw5p0va8fs5wkv-perl5.32.0-LaTeXML-0.8.4/bin/./lib /nix/store/1dh52zfd3ifglz289i827afnxyipgb6s-perl-5.32.0/lib/perl5/siteperl /nix/store/4l3jrimlvzqzvj0964124h5g6h0xic70-perl5.32.0-Archive-Zip-1.68/lib/perl5/siteperl /nix/store/1pj1sb8diybb5975gxyzni1kznnnpp8y-perl5.32.0-DBFile-1.853/lib/perl5/siteperl /nix/store/2gn46b896k9ca78pqxz28hbcz80plzwg-perl5.32.0-File-Which-1.23/lib/perl5/siteperl /nix/store/zn1xy74fzr3m87zm5an8dpb6cayk7vxb-perl5.32.0-IO-String-1.08/lib/perl5/siteperl /nix/store/x9wa34pcwrpa66m63zbbiqpgv4nldky2-perl5.32.0-Image-Size-3.300/lib/perl5/siteperl /nix/store/2ln30mjzlyd8hv84j2ajaz4cvhs7c909-perl5.32.0-JSON-XS-4.02/lib/perl5/siteperl /nix/store/5sy7n9n9prr5dkwy6dd42z93m4d9vs9z-perl5.32.0-Types-Serialiser-1.0/lib/perl5/siteperl /nix/store/pvc5c61vbfb1aaxcrxmysi0m37kixx5m-perl5.32.0-common-sense-3.

75/lib/perl5/siteperl /nix/store/2cjv2r047s2qqz9pvnsg368v44lkjyzq-perl5.32.0-libwww-perl-6.47/lib/perl5/siteperl /nix/store/w48gyrd7v0fl15b3mgbsba2vszyn5cma-perl5.32.0-File-Listing-6.04/lib/perl5/siteperl /nix/store/a36sxw8w2npbyvvp4dgd6xwmkzpv28nl-perl5.32.0-HTTP-Date-6.05/lib/perl5/siteperl /nix/store/jkg855zrj2r448iva7figbvlxm2x62l9-perl5.32.0-TimeDate-2.33/lib/perl5/siteperl /nix/store/g6hagv1ba3d94m3qfldkvhd1pw8sv056-perl5.32.0-HTML-Parser-3.75/lib/perl5/siteperl /nix/store/arfaihzawl93nr143b4i2gzrg3p1vikj-perl5.32.0-HTML-Tagset-3.20/lib/perl5/siteperl /nix/store/3f6ad5k3x9fvyky7g1g2h64s7llvdij0-perl5.32.0-HTTP-Message-6.25/lib/perl5/siteperl /nix/store/y694z6l0i3xn1c59znf0jg8pmjrcxq14-perl5.32.0-Encode-Locale-1.05/lib/perl5/siteperl /nix/store/92188lhs8brqca5vyvns829n4kvns9kb-perl5.32.0-IO-HTML-1.001/lib/perl5/siteperl /nix/store/kzj59zs746wwdwwdhgfpan78lsx5b8w3-perl5.32.0-LWP-MediaTypes-6.04/lib/perl5/siteperl /nix/store/s5wp8n5dkcxb9zkw4pjgw346x4gr02ka-perl5.32.0-URI-1.

76/lib/perl5/siteperl /nix/store/b52c76jkxf39cm6rr1rf18mklnz246yh-perl5.32.0-HTTP-Cookies-6.08/lib/perl5/siteperl /nix/store/00lailc90xh1gh26m8a495lks57mrhsz-perl5.32.0-HTTP-Daemon-6.01/lib/perl5/siteperl /nix/store/jrc3kbjpq14q4cvc9dm3xzmdqp47kqvy-perl5.32.0-HTTP-Negotiate-6.01/lib/perl5/siteperl /nix/store/q04iqw4acphc0z8i7xnk2kx3j6gs7j2z-perl5.32.0-Net-HTTP-6.19/lib/perl5/siteperl /nix/store/bz8f1w1xmiz061ihjylfzxcfhmsv1gl9-perl5.32.0-Try-Tiny-0.30/lib/perl5/siteperl /nix/store/a0dybgw5zm9xs4bzrwac8ls6pw8gl6mb-perl5.32.0-WWW-RobotRules-6.02/lib/perl5/siteperl /nix/store/3bcczfrnl4642bwxqmx12ih6pl8mmd89-perl5.32.0-Parse-RecDescent-1./lib/perl5/siteperl /nix/store/3fj4k50sqx8d71wszxiq6nk75kjdkkfd-perl5.32.0-Pod-Parser-1.63/lib/perl5/siteperl /nix/store/mychnpsacrkmfda3prl5jrh4a7yhzk56-perl5.32.0-Text-Unidecode-1.30/lib/perl5/siteperl /nix/store/q93lm9l5csw93hsk2rkzs1v9jnffsww9-perl5.32.0-XML-LibXSLT-1.99/lib/perl5/siteperl /nix/store/zgbxc7lc7gqmpmidxbr3yspa7dgfwzw5-perl5.32.

0-XML-LibXML-2.0205/lib/perl5/siteperl /nix/store/xg4f8qwpnh42550x923jybiin4zb134d-perl5.32.0-XML-SAX-1.02/lib/perl5/siteperl /nix/store/fbb4wrmrkqi9wcqly7f6s9hy7z0zcc0v-perl5.32.0-XML-NamespaceSupport-1.12/lib/perl5/siteperl /nix/store/vjbv5032bpjz2jf72rn3f8hs63z7j8wx-perl5.32.0-XML-SAX-Base-1.09/lib/perl5/siteperl /nix/store/8v612layw8hrwvl7wrqw5p0va8fs5wkv-perl5.32.0-LaTeXML-0.8.4/lib/perl5/siteperl /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.4 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /nix/store/8v612layw8hrwvl7wrqw5p0va8fs5wkv-perl5.32.0-LaTeXML-0.8.4/bin/latexml line 20. BEGIN failed--compilation aborted at /nix/store/8v612layw8hrwvl7wrqw5p0va8fs5wkv-perl5.32.0-LaTeXML-0.8.4/bin/latexml line 20. To Reproduce 2. Expected behavior I expect to see the help text. Additional context No other context beyond the metadata below.

Notify maintainers Sorry: I'm afraid I can't work out who the maintainers are (there aren't any listed in , and I can't find where the package is in the tree at github. Metadata system: host os: multi-user?: sandbox: version: channels(norman): nixpkgs: Maintainer information: