From 52cb3dc4f9e55c24f4655ff1015b6d6ee495b4b3 Mon Sep 17 00:00:00 2001 From: Reno Dakota Date: Sun, 22 Dec 2024 12:23:18 -0800 Subject: [PATCH] inkscape: fix gobjectptr compile error fixes compile error due to a typo in gobjectptr member function https://gitlab.com/inkscape/inkscape/-/commit/eb6dadcf1a5c660167ba43f3606c8e7cc6529787 --- pkgs/applications/graphics/inkscape/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index 566b92eda2d0..b1c8f5a9ea09 100644 --- a/pkgs/applications/graphics/inkscape/default.nix +++ b/pkgs/applications/graphics/inkscape/default.nix @@ -6,6 +6,7 @@ , callPackage , cmake , desktopToDarwinBundle +, fetchpatch , fetchurl , fd , gettext @@ -85,6 +86,12 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; patches = [ + (fetchpatch { + # fix typo in gobjectptr member function. remove on update + name = "gobjectptr-fix-member-name.patch"; + url = "https://gitlab.com/inkscape/inkscape/-/commit/eb6dadcf1a5c660167ba43f3606c8e7cc6529787.patch"; + hash = "sha256-FvbJV/YrBwhHg0kFdbhyd/Y9g7YV2nPIrRqZt7yJ50Q="; + }) (substituteAll { src = ./fix-python-paths.patch; # Python is used at run-time to execute scripts,