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