diff options
author | Nick Cao <nickcao@nichi.co> | 2023-11-28 10:05:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-28 10:05:40 -0500 |
commit | 659a03ab79ad85c14bf3cba2bb93bf1552eeae3d (patch) | |
tree | b1b862430dd165d461c54cf8500d005d33e39e99 /pkgs/development/python-modules | |
parent | 391840a1f2145f77bca65e30273a1eb5389cd1fd (diff) | |
parent | 86cf84458add81f75b28df1b7ca8e34bd9e989aa (diff) |
Merge pull request #270030 from NixOS/backport-269899-to-release-23.11
[Backport release-23.11] pythonPackages.pyheck: fix build on darwin
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pyheck/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyheck/default.nix b/pkgs/development/python-modules/pyheck/default.nix index 4a32babb69fb4..123ebe3db9785 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 ]; |