about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-03-19 06:17:55 +0000
committerGitHub <noreply@github.com>2021-03-19 06:17:55 +0000
commit6ffd2fe000f558a8dfa0404eaea3530fdc8fa69a (patch)
treeeb1305c70a4567d3296b0733176382262e92aed5 /pkgs/tools/typesetting
parentd73a492e831d91dc62f97132e3e545bb9247dfc8 (diff)
parente35acbb6d89cd2c2a9cdc97138b3aae352de8c3f (diff)
downloadnixlib-6ffd2fe000f558a8dfa0404eaea3530fdc8fa69a.tar
nixlib-6ffd2fe000f558a8dfa0404eaea3530fdc8fa69a.tar.gz
nixlib-6ffd2fe000f558a8dfa0404eaea3530fdc8fa69a.tar.bz2
nixlib-6ffd2fe000f558a8dfa0404eaea3530fdc8fa69a.tar.lz
nixlib-6ffd2fe000f558a8dfa0404eaea3530fdc8fa69a.tar.xz
nixlib-6ffd2fe000f558a8dfa0404eaea3530fdc8fa69a.tar.zst
nixlib-6ffd2fe000f558a8dfa0404eaea3530fdc8fa69a.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/texlive/bin.nix7
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 d2858a90885e..fb9b748b5d0a 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;
 };