Unverified Commit 07390fcb authored by Mathis Antony's avatar Mathis Antony
Browse files

pythonPackages.pyheck: fix build on darwin

- Add libiconv dependency
parent 85458fd2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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
  ];