From b1c8645f258141318b461dd977ae083872c06f7b Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sun, 25 Jan 2026 18:46:22 +0100 Subject: [PATCH] python3Packages.rzpipe: patch rizin location --- pkgs/development/python-modules/rzpipe/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/rzpipe/default.nix b/pkgs/development/python-modules/rzpipe/default.nix index e970f86befb3..81fc76c8bec2 100644 --- a/pkgs/development/python-modules/rzpipe/default.nix +++ b/pkgs/development/python-modules/rzpipe/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchPypi, setuptools, + rizin, }: buildPythonPackage rec { @@ -15,6 +16,11 @@ buildPythonPackage rec { hash = "sha256-KKqPFMGgsmiYZ0tXTIhhvhLDfm/iV8JcYeVc4akezYc="; }; + postPatch = '' + substituteInPlace rzpipe/open_sync.py \ + --replace-fail "cmd = [rze," "cmd = ['${lib.getExe rizin}'," + ''; + build-system = [ setuptools ]; # No native rz_core library