python3.pkgs.pydantic-core: add libiconv on darwin

This commit is contained in:
Theodore Ni 2023-08-08 09:22:05 -07:00
parent 71d2dd203d
commit 255787a6a4
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -1,9 +1,11 @@
{ lib
{ stdenv
, lib
, buildPythonPackage
, fetchFromGitHub
, cargo
, rustPlatform
, rustc
, libiconv
, typing-extensions
, pytestCheckHook
, hypothesis
@ -40,6 +42,10 @@ buildPythonPackage rec {
typing-extensions
];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
];
propagatedBuildInputs = [
typing-extensions
];