Merge pull request #307496 from vytskalt/tokenizers-fix

python3Packages.tokenizers: fix cross build

authored by OTABI Tomoya and committed by GitHub d20c85b1 1af7f2fb

+4
+4
pkgs/development/python-modules/tokenizers/default.nix
··· 4 4 , buildPythonPackage 5 5 , cargo 6 6 , datasets 7 + , huggingface-hub 7 8 , fetchFromGitHub 8 9 , fetchurl 9 10 , libiconv ··· 11 12 , openssl 12 13 , pkg-config 13 14 , pytestCheckHook 15 + , python 14 16 , pythonOlder 15 17 , requests 16 18 , rustPlatform ··· 80 82 }; 81 83 82 84 sourceRoot = "${src.name}/bindings/python"; 85 + maturinBuildFlags = [ "--interpreter ${python.executable}" ]; 83 86 84 87 nativeBuildInputs = [ 85 88 pkg-config ··· 105 108 106 109 dependencies = [ 107 110 numpy 111 + huggingface-hub 108 112 ]; 109 113 110 114 nativeCheckInputs = [