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
, 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
];