From 085e1f9e3f1c8c3ba9d6e627d2359299fd7f421c Mon Sep 17 00:00:00 2001 From: Yannik Rödel Date: Sun, 30 Oct 2022 14:05:32 +0100 Subject: inkscape: fix for Poppler 22.09 --- pkgs/applications/graphics/inkscape/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkgs/applications/graphics/inkscape') diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index 83fd78c631340..8a40bac446e88 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 = '' -- cgit 1.4.1