diff --git a/pkgs/development/python-modules/pdoc-pyo3-sample-library/default.nix b/pkgs/development/python-modules/pdoc-pyo3-sample-library/default.nix index f02507574b9a..37fd1d1378dc 100644 --- a/pkgs/development/python-modules/pdoc-pyo3-sample-library/default.nix +++ b/pkgs/development/python-modules/pdoc-pyo3-sample-library/default.nix @@ -1,9 +1,11 @@ { lib +, stdenv , buildPythonPackage , fetchPypi , rustPlatform , cargo , rustc +, libiconv }: buildPythonPackage rec { @@ -29,6 +31,10 @@ buildPythonPackage rec { rustc ]; + buildInputs = lib.optionals stdenv.isDarwin [ + libiconv + ]; + pythonImportsCheck = [ "pdoc_pyo3_sample_library" ]; # no tests