diff --git a/pkgs/development/python-modules/pyheck/default.nix b/pkgs/development/python-modules/pyheck/default.nix index 4a32babb69fb..123ebe3db978 100644 --- a/pkgs/development/python-modules/pyheck/default.nix +++ b/pkgs/development/python-modules/pyheck/default.nix @@ -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 ];