summary refs log tree commit diff
diff options
context:
space:
mode:
authorYannik Rödel <hey@yannik.info>2022-10-30 14:05:32 +0100
committerJan Tojnar <jtojnar@gmail.com>2022-11-02 13:14:43 +0100
commit085e1f9e3f1c8c3ba9d6e627d2359299fd7f421c (patch)
treed3203bdcc7a179ba72fac365a15d348c1361b989
parentca9eb8eee37736e4ae2d493136597e1edb3f813d (diff)
downloadnixpkgs-085e1f9e3f1c8c3ba9d6e627d2359299fd7f421c.tar
nixpkgs-085e1f9e3f1c8c3ba9d6e627d2359299fd7f421c.tar.gz
nixpkgs-085e1f9e3f1c8c3ba9d6e627d2359299fd7f421c.tar.bz2
nixpkgs-085e1f9e3f1c8c3ba9d6e627d2359299fd7f421c.tar.lz
nixpkgs-085e1f9e3f1c8c3ba9d6e627d2359299fd7f421c.tar.xz
nixpkgs-085e1f9e3f1c8c3ba9d6e627d2359299fd7f421c.tar.zst
nixpkgs-085e1f9e3f1c8c3ba9d6e627d2359299fd7f421c.zip
inkscape: fix for Poppler 22.09
-rw-r--r--pkgs/applications/graphics/inkscape/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix
index 83fd78c6313..8a40bac446e 100644
--- a/pkgs/applications/graphics/inkscape/default.nix
+++ b/pkgs/applications/graphics/inkscape/default.nix
@@ -5,6 +5,7 @@
 , cairo
 , cmake
 , fetchurl
+, fetchpatch
 , gettext
 , ghostscript
 , glib
@@ -78,6 +79,12 @@ stdenv.mkDerivation rec {
       # e.g., those from the "Effects" menu.
       python3 = "${python3Env}/bin/python";
     })
+
+    # Fix build with Poppler 22.09
+    (fetchpatch {
+      url = "https://github.com/archlinux/svntogit-packages/raw/b2f65dfb60ae0c8cd6cd9affd3d71064082a6201/trunk/inkscape-1.2.1-poppler-22.09.0.patch";
+      sha256 = "pArvsS/qoCTMAisF8yj3agZKrb90zRFZkck1TX0KeGc=";
+    })
   ];
 
   postPatch = ''