pythonPackages.pyheck: fix build on darwin
- Add libiconv dependency
This commit is contained in:
parent
85458fd241
commit
07390fcb4a
1 changed files with 4 additions and 0 deletions
|
@ -2,11 +2,13 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, cargo
|
, cargo
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, libiconv
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, rustc
|
, rustc
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
|
, stdenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -39,6 +41,8 @@ buildPythonPackage rec {
|
||||||
rustPlatform.maturinBuildHook
|
rustPlatform.maturinBuildHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue