Skip to content

Commit 1de0c22

Browse files
authored
python313Packages.flaxlib: fix build (NixOS#373159)
2 parents 17b5913 + fb4974c commit 1de0c22

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ buildPythonPackage rec {
4949
pytestCheckHook
5050
];
5151

52+
env = {
53+
# https://github.com/google/flax/issues/4491
54+
# Upstream should update Cargo.lock
55+
# Enabling `PYO3_USE_ABI3_FORWARD_COMPATIBILITY` allows us to temporarily avoid the issue
56+
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = true;
57+
};
58+
5259
# This package does not have tests (yet ?)
5360
doCheck = false;
5461

0 commit comments

Comments
 (0)