python310Packages.json-stream-rs-tokenizer: fix darwin build
This commit is contained in:
parent
8bf3e834da
commit
2af04a503f
|
@ -1,8 +1,10 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, cargo
|
, cargo
|
||||||
|
, darwin
|
||||||
, rustc
|
, rustc
|
||||||
, setuptools-rust
|
, setuptools-rust
|
||||||
, json-stream-rs-tokenizer
|
, json-stream-rs-tokenizer
|
||||||
|
@ -38,6 +40,10 @@ buildPythonPackage rec {
|
||||||
rustc
|
rustc
|
||||||
];
|
];
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.libiconv
|
||||||
|
];
|
||||||
|
|
||||||
# Tests depend on json-stream, which depends on this package.
|
# Tests depend on json-stream, which depends on this package.
|
||||||
# To avoid infinite recursion, we only enable tests when building passthru.tests.
|
# To avoid infinite recursion, we only enable tests when building passthru.tests.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
Loading…
Reference in a new issue