summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2021-03-23 07:39:14 +0100
committerJan Tojnar <jtojnar@gmail.com>2021-04-16 23:11:57 +0200
commit4f7177b026d41a133de14bcde249c7b57c695307 (patch)
tree627e06358f674e235ba0b6eec9b52c050be2a400
parentgnome3.cheese: fix build (diff)
downloadnixpkgs-4f7177b026d41a133de14bcde249c7b57c695307.tar.gz
inkscape: Fix build with glib 2.68
-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 11340fa74686..bea288e29586 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 = ''