Merge pull request #269899 from sveitser/zhf-pyheck-darwin-fix-build

pythonPackages.pyheck: fix build on darwin
This commit is contained in:
Mario Rodas 2023-11-25 22:26:21 -05:00 committed by GitHub
commit a6ef1c48d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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