pythonPackages.tokenizers: fix darwin build

This commit is contained in:
Dmitry Kalinkin 2021-11-29 01:14:14 -05:00
parent 7dcd2f54b8
commit bf98858c0f
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

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