From fd4242a7ebfa1b7ff016b784f33c25294b9d9c1b Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 23 Sep 2022 19:44:03 -0700 Subject: [PATCH] python310Packages.bcrypt: add libiconv on darwin --- pkgs/development/python-modules/bcrypt/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/bcrypt/default.nix b/pkgs/development/python-modules/bcrypt/default.nix index 051879c2ac1f..a4848c676a94 100644 --- a/pkgs/development/python-modules/bcrypt/default.nix +++ b/pkgs/development/python-modules/bcrypt/default.nix @@ -8,6 +8,8 @@ , pythonOlder , cffi , pytestCheckHook +, libiconv +, stdenv # for passthru.tests , asyncssh , django_4 @@ -45,6 +47,9 @@ buildPythonPackage rec { rust.rustc ]); + # Remove when https://github.com/NixOS/nixpkgs/pull/190093 lands. + buildInputs = lib.optional stdenv.isDarwin libiconv; + propagatedBuildInputs = [ cffi ];