about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2020-04-22 14:06:42 -0400
committerGitHub <noreply@github.com>2020-04-22 14:06:42 -0400
commit67d5cdee044b07b6b6d084e559a95371998103cf (patch)
tree1900d71f359fcbf6e12f0dd6a14122482423ef99 /pkgs/tools/typesetting
parent9aa4a4c7221f381fafdb2fb7d715409774bcde1e (diff)
parentbb79233b94bd5d9dc3b44a90ee0dc78d78c77569 (diff)
downloadnixlib-67d5cdee044b07b6b6d084e559a95371998103cf.tar
nixlib-67d5cdee044b07b6b6d084e559a95371998103cf.tar.gz
nixlib-67d5cdee044b07b6b6d084e559a95371998103cf.tar.bz2
nixlib-67d5cdee044b07b6b6d084e559a95371998103cf.tar.lz
nixlib-67d5cdee044b07b6b6d084e559a95371998103cf.tar.xz
nixlib-67d5cdee044b07b6b6d084e559a95371998103cf.tar.zst
nixlib-67d5cdee044b07b6b6d084e559a95371998103cf.zip
Merge pull request #85736 from immae/fix_texlive_pstricks
nixos/texlive: Fix texlive pstricks
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/texlive/bin.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix
index 5800cedf7f14..c0ae6b8e187b 100644
--- a/pkgs/tools/typesetting/tex/texlive/bin.nix
+++ b/pkgs/tools/typesetting/tex/texlive/bin.nix
@@ -76,6 +76,14 @@ let
         url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/texlive-poppler-0.86.patch?h=packages/texlive-bin&id=60244e41bb6f1501e8ed1fc9e6b7ba8d3f283398";
         sha256 = "0pdvhaqc3zgz7hp0x3a4qs0nh26fkvgmr6w1cjljqhp1nyiw2f1l";
       })
+
+      # Needed for ghostscript>=9.50
+      (fetchpatch {
+        name = "xdvipdfm-fix.patch";
+        url = "https://www.tug.org/svn/texlive/trunk/Build/source/texk/dvipdfm-x/spc_dvips.c?view=patch&r1=52765&r2=52764&pathrev=52765";
+        sha256 = "0qvrc7yxhbl5f4g340z8aql388bwib0m2gxd473skbmviy5bjr3f";
+        stripLen = 2;
+      })
     ];
 
     # remove when removing synctex-missing-header.patch