diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-12-16 22:36:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-16 22:36:41 -0500 |
commit | 5e3d3054f736cbe7b70adcafb32818ac2573d454 (patch) | |
tree | 21663897323e1975f3b7cd50e671a9531c218a5f /pkgs | |
parent | 7b720837e7461bc7dad72d3ed8285c6aa6f6a3b7 (diff) | |
parent | bf98858c0fffa8b2a714faa28077d73947cacc9f (diff) |
Merge pull request #147807 from veprbl/pr/tokenizers_darwin_fix
pythonPackages.tokenizers: fix darwin build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/tokenizers/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/tokenizers/default.nix b/pkgs/development/python-modules/tokenizers/default.nix index d5d26050eeebe..55928d4fcc8e3 100644 --- a/pkgs/development/python-modules/tokenizers/default.nix +++ b/pkgs/development/python-modules/tokenizers/default.nix @@ -1,9 +1,11 @@ { lib +, stdenv , fetchFromGitHub , fetchurl , buildPythonPackage , rustPlatform , setuptools-rust +, libiconv , numpy , datasets , pytestCheckHook @@ -72,6 +74,10 @@ in buildPythonPackage rec { rust.rustc ]); + buildInputs = lib.optionals stdenv.isDarwin [ + libiconv + ]; + propagatedBuildInputs = [ numpy ]; |