Skip to content

Commit b8e6200

Browse files
committed
python312Packages.msprime: relax numpy build-time constraint, unbreak
1 parent 84b68b8 commit b8e6200

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/development/python-modules/msprime/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ buildPythonPackage rec {
2828
hash = "sha256-2K55gHYWf2Mrj9fszVCJ+qqEyQNMppQi+IZCX5SlsBs=";
2929
};
3030

31+
postPatch = ''
32+
# build-time constriant, used to ensure forward and backward compat
33+
substituteInPlace pyproject.toml \
34+
--replace-fail "numpy>=2" "numpy"
35+
'';
36+
3137
nativeBuildInputs = [
3238
gsl
3339
oldest-supported-numpy

0 commit comments

Comments
 (0)