diff --git a/pkgs/development/python-modules/deal-solver/default.nix b/pkgs/development/python-modules/deal-solver/default.nix index 28eee72a99d2..c47d5d1c92b4 100644 --- a/pkgs/development/python-modules/deal-solver/default.nix +++ b/pkgs/development/python-modules/deal-solver/default.nix @@ -7,6 +7,7 @@ , astroid , pytestCheckHook , hypothesis +, pythonRelaxDepsHook }: buildPythonPackage rec { @@ -25,8 +26,12 @@ buildPythonPackage rec { nativeBuildInputs = [ flit-core + pythonRelaxDepsHook ]; + # z3 does not provide a dist-info, so python-runtime-deps-check will fail + pythonRemoveDeps = [ "z3-solver" ]; + postPatch = '' substituteInPlace pyproject.toml \ --replace "\"--cov=deal_solver\"," "" \