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
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -8,6 +8,8 @@
, pythonOlder , pythonOlder
, cffi , cffi
, pytestCheckHook , pytestCheckHook
, libiconv
, stdenv
# for passthru.tests # for passthru.tests
, asyncssh , asyncssh
, django_4 , django_4
@ -45,6 +47,9 @@ buildPythonPackage rec {
rust.rustc rust.rustc
]); ]);
# Remove when https://github.com/NixOS/nixpkgs/pull/190093 lands.
buildInputs = lib.optional stdenv.isDarwin libiconv;
propagatedBuildInputs = [ propagatedBuildInputs = [
cffi cffi
]; ];