diff --git a/pkgs/development/python-modules/mip/default.nix b/pkgs/development/python-modules/mip/default.nix index db2786915b56..5705f1f37cfd 100644 --- a/pkgs/development/python-modules/mip/default.nix +++ b/pkgs/development/python-modules/mip/default.nix @@ -62,8 +62,8 @@ buildPythonPackage rec { ]; postPatch = '' - # Allow cffi versions with a different patch level to be used - substituteInPlace pyproject.toml --replace "cffi==1.15.0" "cffi==1.15.*" + # Allow newer cffi versions to be used + substituteInPlace pyproject.toml --replace "cffi==1.15.*" "cffi>=1.15" ''; # Make MIP use the Gurobi solver, if configured to do so