python310Packages.rpds-py: link to libiconv on darwin

This commit is contained in:
Theodore Ni 2023-07-22 15:47:29 -07:00
parent f18b8ec8c6
commit 3837272d6b
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -1,4 +1,5 @@
{ lib { stdenv
, lib
, buildPythonPackage , buildPythonPackage
, cargo , cargo
, fetchPypi , fetchPypi
@ -6,6 +7,7 @@
, pythonOlder , pythonOlder
, rustc , rustc
, rustPlatform , rustPlatform
, libiconv
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -34,6 +36,10 @@ buildPythonPackage rec {
rustc rustc
]; ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
]; ];