diff options
| author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2021-11-29 01:14:14 -0500 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2021-12-17 03:41:28 +0000 |
| commit | 5c453d82fc518ea34b1a9ee5435318da6b098416 (patch) | |
| tree | ff099d9800e9158bf4843a8340b21ad6ce1249da | |
| parent | Merge pull request #150954 from mweinelt/21.11/mediawiki (diff) | |
| download | nixpkgs-5c453d82fc518ea34b1a9ee5435318da6b098416.tar.gz | |
pythonPackages.tokenizers: fix darwin build
(cherry picked from commit bf98858c0fffa8b2a714faa28077d73947cacc9f)
| -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 d5d26050eeeb..55928d4fcc8e 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 ]; |
