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:18:02 +0000
committerGitHub <noreply@github.com>2021-03-19 06:18:02 +0000
commit6adae3d5537e5bed4e405c5b29eb77ec072a9dfc (patch)
tree783e72fd5ddf8df49215e4867b295039e13f329b /pkgs/tools/typesetting
parent8c03075f07dbeba6a55e4e8155fe3676369a4a28 (diff)
parent6ffd2fe000f558a8dfa0404eaea3530fdc8fa69a (diff)
downloadnixlib-6adae3d5537e5bed4e405c5b29eb77ec072a9dfc.tar
nixlib-6adae3d5537e5bed4e405c5b29eb77ec072a9dfc.tar.gz
nixlib-6adae3d5537e5bed4e405c5b29eb77ec072a9dfc.tar.bz2
nixlib-6adae3d5537e5bed4e405c5b29eb77ec072a9dfc.tar.lz
nixlib-6adae3d5537e5bed4e405c5b29eb77ec072a9dfc.tar.xz
nixlib-6adae3d5537e5bed4e405c5b29eb77ec072a9dfc.tar.zst
nixlib-6adae3d5537e5bed4e405c5b29eb77ec072a9dfc.zip
Merge staging-next into staging
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;
 };