Merge pull request #147807 from veprbl/pr/tokenizers_darwin_fix

pythonPackages.tokenizers: fix darwin build
This commit is contained in:
Dmitry Kalinkin 2021-12-16 22:36:41 -05:00 committed by GitHub
commit 5e3d3054f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
];