Merge pull request #244926 from tjni/rpds-py

python310Packages.rpds-py: link to libiconv on darwin
This commit is contained in:
Nick Cao 2023-07-22 20:02:44 -06:00 committed by GitHub
commit e37decdc21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
]; ];