Skip to content

Commit

Permalink
python313Packages.flaxlib: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Jan 19, 2025
1 parent 40bbd31 commit fb4974c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/flaxlib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ buildPythonPackage rec {
pytestCheckHook
];

env = {
# https://github.com/google/flax/issues/4491
# Upstream should update Cargo.lock
# Enabling `PYO3_USE_ABI3_FORWARD_COMPATIBILITY` allows us to temporarily avoid the issue
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = true;
};

# This package does not have tests (yet ?)
doCheck = false;

Expand Down

0 comments on commit fb4974c

Please sign in to comment.