mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
python38Packages.cryptography: fix build with libxcrypt
This commit is contained in:
parent
cdc30af3f6
commit
ede084fa15
@ -18,6 +18,7 @@
|
||||
, pythonOlder
|
||||
, pretend
|
||||
, libiconv
|
||||
, libxcrypt
|
||||
, iso8601
|
||||
, py
|
||||
, pytz
|
||||
@ -56,7 +57,8 @@ buildPythonPackage rec {
|
||||
] ++ (with rustPlatform; [ rust.cargo rust.rustc ]);
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||
++ lib.optionals stdenv.isDarwin [ Security libiconv ]
|
||||
++ lib.optionals (pythonOlder "3.9") [ libxcrypt ];
|
||||
|
||||
propagatedBuildInputs = lib.optionals (!isPyPy) [
|
||||
cffi
|
||||
|
Loading…
Reference in New Issue
Block a user