From 1dfdb568a9efd48c67a398f158cb967fcf1a0ed2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Mar 2023 12:27:17 +0100 Subject: [PATCH] python310Packages.json-stream: add iconv for Darwin --- pkgs/development/python-modules/json-stream/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/json-stream/default.nix b/pkgs/development/python-modules/json-stream/default.nix index 37c72b6abb0e..42cb730492ee 100644 --- a/pkgs/development/python-modules/json-stream/default.nix +++ b/pkgs/development/python-modules/json-stream/default.nix @@ -1,6 +1,8 @@ { lib +, stdenv , buildPythonPackage , fetchPypi +, iconv , pytestCheckHook , pythonOlder , requests @@ -24,6 +26,10 @@ buildPythonPackage rec { setuptools ]; + buildInputs = lib.optionals stdenv.isDarwin [ + iconv + ]; + propagatedBuildInputs = [ requests json-stream-rs-tokenizer