about summary refs log tree commit diff
path: root/pkgs/development/python-modules/json-stream/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/json-stream/default.nix')
-rw-r--r--pkgs/development/python-modules/json-stream/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/json-stream/default.nix b/pkgs/development/python-modules/json-stream/default.nix
index 26b7ef5f8ea2..fd5f61399f18 100644
--- a/pkgs/development/python-modules/json-stream/default.nix
+++ b/pkgs/development/python-modules/json-stream/default.nix
@@ -25,7 +25,7 @@ buildPythonPackage rec {
 
   nativeBuildInputs = [ setuptools ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ iconv ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ iconv ];
 
   propagatedBuildInputs = [
     requests