about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorMing-Chuan <ming@culpring.com>2024-01-06 02:46:43 -0800
committerGitHub <noreply@github.com>2024-01-06 11:46:43 +0100
commitd8467ad3015de77237103ea3343d1494a4d2acbc (patch)
tree32e7d86a0fd49da99215347f2a27b6832d153688 /pkgs/applications/graphics
parenta5dc872536f484aad662de23302b295a6bce0fb2 (diff)
krita: fix build with SIP 6.8 (#279092)
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/krita/generic.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/krita/generic.nix b/pkgs/applications/graphics/krita/generic.nix
index df78c3108fb88..affa411aaa3c1 100644
--- a/pkgs/applications/graphics/krita/generic.nix
+++ b/pkgs/applications/graphics/krita/generic.nix
@@ -21,6 +21,15 @@ mkDerivation rec {
     inherit hash;
   };
 
+  patches = [
+    # Fixes build with SIP 6.8
+    (fetchpatch {
+      name = "bump-SIP-ABI-version-to-12.8.patch";
+      url = "https://invent.kde.org/graphics/krita/-/commit/2d71c47661d43a4e3c1ab0c27803de980bdf2bb2.diff";
+      hash = "sha256-U3E44nj4vra++PJV20h4YHjES78kgrJtr4ktNeQfOdA=";
+    })
+  ];
+
   nativeBuildInputs = [ cmake extra-cmake-modules pkg-config python3Packages.sip makeWrapper ];
 
   buildInputs = [