Skip to content

Commit

Permalink
python3.pkgs.thinc: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
benxiao committed Mar 21, 2023
1 parent 8eb7fcb commit 101bfc9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/thinc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ buildPythonPackage rec {
pytestCheckHook
];

postPatch = ''
substituteInPlace setup.cfg --replace "blis>=0.7.8,<0.8.0" "blis"
'';

# Add native extensions.
preCheck = ''
export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
Expand Down

0 comments on commit 101bfc9

Please sign in to comment.