diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 8b5298059f15..db2359def2bd 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -11108,11 +11108,13 @@ let url = "mirror://cpan/authors/id/B/BR/BRMILLER/${pname}-${version}.tar.gz"; sha256 = "0dr69rgl4si9i9ww1r4dc7apgb7y6f7ih808w4g0924cvz823s0x"; }; + outputs = [ "out" "tex" ]; propagatedBuildInputs = [ ArchiveZip DBFile FileWhich IOString ImageSize JSONXS LWP ParseRecDescent PerlMagick PodParser TextUnidecode XMLLibXSLT ]; preCheck = '' rm t/931_epub.t # epub test fails ''; nativeBuildInputs = [ pkgs.makeWrapper ] ++ lib.optional stdenv.isDarwin shortenPerlShebang; + makeMakerFlags = "TEXMF=\${tex} NOMKTEXLSR"; # shebangs need to be patched before executables are copied to $out preBuild = '' patchShebangs bin/ @@ -11129,7 +11131,13 @@ let ''; meta = { description = "Transforms TeX and LaTeX into XML/HTML/MathML"; - license = lib.licenses.free; + homepage = "https://dlmf.nist.gov/LaTeXML/"; + license = lib.licenses.publicDomain; + maintainers = with maintainers; [ xworld21 ]; + }; + passthru = { + tlType = "run"; + pkgs = [ LaTeXML.tex ]; }; };