about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2024-04-14 01:27:50 +0200
committerGitHub <noreply@github.com>2024-04-14 01:27:50 +0200
commitc2706c7ae7c07618ebd8acd37ec5018e79ca7d36 (patch)
tree27a9ce35826c6ae0614588991bc40c59b692a06f
parent1c84dcbf5c5ff0d1d7392f0f4acf07a9d2ae3568 (diff)
parent7fa9a0c8968c67ee6dfcf8ea8e604c72de9c21ec (diff)
Merge pull request #286980 from stephen-huan/mip-cffi
python3Packages.mip: fix cffi version
-rw-r--r--pkgs/development/python-modules/mip/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/mip/default.nix b/pkgs/development/python-modules/mip/default.nix
index db2786915b568..5705f1f37cfdd 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