about summary refs log tree commit diff
path: root/pkgs/applications/graphics/inkscape
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2021-03-23 07:39:14 +0100
committerJan Tojnar <jtojnar@gmail.com>2021-05-05 22:42:54 +0200
commit1a7ac9640a4a969bec99e26738656a9904c03b1b (patch)
treedcc7f10b77b86342d35746f96948a0ea7b145bf5 /pkgs/applications/graphics/inkscape
parent14a1fc1e4b064b4504d09a5fd1069666c2e0a4a1 (diff)
inkscape: Fix build with glib 2.68
Diffstat (limited to 'pkgs/applications/graphics/inkscape')
-rw-r--r--pkgs/applications/graphics/inkscape/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix
index 11340fa74686b..bea288e295860 100644
--- a/pkgs/applications/graphics/inkscape/default.nix
+++ b/pkgs/applications/graphics/inkscape/default.nix
@@ -5,6 +5,7 @@
 , cmake
 , double-conversion
 , fetchurl
+, fetchpatch
 , gettext
 , gdl
 , ghostscript
@@ -71,6 +72,13 @@ stdenv.mkDerivation rec {
       # e.g., those from the "Effects" menu.
       python3 = "${python3Env}/bin/python";
     })
+
+    # Fix build with glib 2.68
+    # https://gitlab.com/inkscape/inkscape/-/merge_requests/2790
+    (fetchpatch {
+      url = "https://gitlab.com/inkscape/inkscape/-/commit/eb24388f1730918edd9565d9e5d09340ec0b3b08.patch";
+      sha256 = "d2FHRWcOzi0Vsr6t0MuLu3rWpvhFKuuvoXd4/NKUSJI=";
+    })
   ];
 
   postPatch = ''