python310Packages.bcrypt: add libiconv on darwin

This commit is contained in:
Theodore Ni
2022-09-23 19:44:03 -07:00
parent ef833a6fd2
commit fd4242a7eb
@@ -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
];