diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-03-18 20:55:00 -0400 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-03-18 20:55:35 -0400 |
commit | 6829f9e141095512add567a6f0c54c914c6ed7e2 (patch) | |
tree | 8e31a70137b6eddf4c60366cef228299acc21af2 /pkgs/tools/typesetting | |
parent | 03eb6426afb58c8d58d9aa155dcc3a884e28a031 (diff) |
texlive.bin.dvipng: refactor gs hardcoding, add a test for it
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/bin.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index d2858a90885e2..fb9b748b5d0ae 100644 --- a/pkgs/tools/typesetting/tex/texlive/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive/bin.nix @@ -281,12 +281,9 @@ dvipng = stdenv.mkDerivation { configureFlags = common.configureFlags ++ [ "--with-system-kpathsea" "--with-gs=yes" "--disable-debug" ]; - enableParallelBuilding = true; + GS="${ghostscript}/bin/gs"; - # I didn't manage to hardcode gs location by configureFlags - postInstall = '' - wrapProgram "$out/bin/dvipng" --prefix PATH : '${ghostscript}/bin' - ''; + enableParallelBuilding = true; }; |