From 8545e0c2133286b56c57c5f6fea6aee877d1cddb Mon Sep 17 00:00:00 2001 From: Angel J <78835633+iamanaws@users.noreply.github.com> Date: Sun, 3 May 2026 09:52:20 -0700 Subject: [PATCH] cutter: fix build with shiboken 6.11 --- pkgs/development/tools/analysis/rizin/cutter.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/analysis/rizin/cutter.nix b/pkgs/development/tools/analysis/rizin/cutter.nix index d44b307c51e0..448ff92f6288 100644 --- a/pkgs/development/tools/analysis/rizin/cutter.nix +++ b/pkgs/development/tools/analysis/rizin/cutter.nix @@ -1,7 +1,7 @@ { lib, fetchFromGitHub, - fetchpatch, + fetchpatch2, stdenv, # for passthru.plugins pkgs, @@ -35,6 +35,14 @@ let fetchSubmodules = true; }; + patches = [ + (fetchpatch2 { + name = "fix-shiboken6-type-index-case.patch"; + url = "https://github.com/rizinorg/cutter/commit/07fea9c772dc573588dc2e5771f0740ee1883738.patch?full_index=1"; + hash = "sha256-/C/s+Ui5F7MCxbzbChQ5Tv/oUHUQxXmk9xOnNI80xwQ="; + }) + ]; + nativeBuildInputs = [ cmake pkg-config