about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pdoc-pyo3-sample-library/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pdoc-pyo3-sample-library/default.nix')
-rw-r--r--pkgs/development/python-modules/pdoc-pyo3-sample-library/default.nix2
1 files changed, 1 insertions, 1 deletions
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 3a653ec5f49a..9e74fa519175 100644
--- a/pkgs/development/python-modules/pdoc-pyo3-sample-library/default.nix
+++ b/pkgs/development/python-modules/pdoc-pyo3-sample-library/default.nix
@@ -32,7 +32,7 @@ buildPythonPackage rec {
     rustc
   ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   pythonImportsCheck = [ "pdoc_pyo3_sample_library" ];