Merge pull request #269899 from sveitser/zhf-pyheck-darwin-fix-build
pythonPackages.pyheck: fix build on darwin
This commit is contained in:
commit
a6ef1c48d9
1 changed files with 4 additions and 0 deletions
|
@ -2,11 +2,13 @@
|
|||
, buildPythonPackage
|
||||
, cargo
|
||||
, fetchFromGitHub
|
||||
, libiconv
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, rustc
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -39,6 +41,8 @@ buildPythonPackage rec {
|
|||
rustPlatform.maturinBuildHook
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue