diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-01-26 15:15:49 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2021-01-26 15:16:43 +0100 |
commit | e0493922895ced62868fec7d3dd8e53cb1407e1a (patch) | |
tree | 83a2d4735a8b66bebc182ce4d8db14d29c07521f /pkgs | |
parent | 513a3ea66508726937f65c257c79edd67059cef6 (diff) |
python3.pkgs.tokenizers: fix build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/transformers/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/transformers/default.nix b/pkgs/development/python-modules/transformers/default.nix index 594204754408..a685f9dc721d 100644 --- a/pkgs/development/python-modules/transformers/default.nix +++ b/pkgs/development/python-modules/transformers/default.nix @@ -41,7 +41,7 @@ buildPythonPackage rec { doCheck = false; postPatch = '' - sed -ri 's/tokenizers==[0-9.]+/tokenizers/g' setup.py + sed -ri 's/tokenizers==[^"]+/tokenizers/g' setup.py src/transformers/dependency_versions_table.py ''; pythonImportsCheck = [ "transformers" ]; |