From 5d6f8daf25ac860de2d14308ab001b5a7bb52dda Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sat, 26 Aug 2023 22:55:29 -0700 Subject: [PATCH] python310Packages.jellyfish: link to libiconv on darwin --- pkgs/development/python-modules/jellyfish/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/jellyfish/default.nix b/pkgs/development/python-modules/jellyfish/default.nix index 26f34fd5f13a..5afe54567cb4 100644 --- a/pkgs/development/python-modules/jellyfish/default.nix +++ b/pkgs/development/python-modules/jellyfish/default.nix @@ -1,10 +1,12 @@ { lib +, stdenv , buildPythonPackage , fetchPypi , isPy3k , pytest , unicodecsv , rustPlatform +, libiconv }: buildPythonPackage rec { @@ -25,6 +27,10 @@ buildPythonPackage rec { cargoSetupHook ]; + buildInputs = lib.optionals stdenv.isDarwin [ + libiconv + ]; + cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}-rust-dependencies";