diff options
| author | Franz Pletz <fpletz@fnordicwalking.de> | 2021-12-17 13:36:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-17 13:36:37 +0100 |
| commit | 6cc821232830e770c807e16dc6af1d513256b8f6 (patch) | |
| tree | 77ae5048f42e2b82f9c4ee9f1661e12a21f67189 | |
| parent | Merge pull request #151074 from NixOS/backport-145777-to-release-21.11 (diff) | |
| parent | pythonPackages.tokenizers: fix darwin build (diff) | |
| download | nixpkgs-6cc821232830e770c807e16dc6af1d513256b8f6.tar.gz | |
Merge pull request #151047 from NixOS/backport-147807-to-release-21.11
[Backport release-21.11] pythonPackages.tokenizers: fix darwin build
| -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 ]; |
