diff --git a/pkgs/development/python-modules/rerun-sdk/default.nix b/pkgs/development/python-modules/rerun-sdk/default.nix index 6ab9c8a758a0..f6476b1675bd 100644 --- a/pkgs/development/python-modules/rerun-sdk/default.nix +++ b/pkgs/development/python-modules/rerun-sdk/default.nix @@ -4,6 +4,7 @@ rustPlatform, stdenv, attrs, + darwin, numpy, pillow, pyarrow, @@ -12,6 +13,7 @@ typing-extensions, pytestCheckHook, python, + libiconv, }: buildPythonPackage { @@ -27,6 +29,13 @@ buildPythonPackage { rustPlatform.maturinBuildHook ]; + buildInputs = [ + libiconv # No-op on Linux, necessary on Darwin. + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ + darwin.apple_sdk.frameworks.AppKit + darwin.apple_sdk.frameworks.CoreServices + ]; + propagatedBuildInputs = [ attrs numpy