lol

Merge pull request #228496 from ivan/py38-cryptography-fix

python38Packages.cryptography: fix build with libxcrypt

authored by

Martin Weinelt and committed by
GitHub
46881306 1c8257a3

+3 -1
+3 -1
pkgs/development/python-modules/cryptography/default.nix
··· 18 18 , pythonOlder 19 19 , pretend 20 20 , libiconv 21 + , libxcrypt 21 22 , iso8601 22 23 , py 23 24 , pytz ··· 56 57 ] ++ (with rustPlatform; [ rust.cargo rust.rustc ]); 57 58 58 59 buildInputs = [ openssl ] 59 - ++ lib.optionals stdenv.isDarwin [ Security libiconv ]; 60 + ++ lib.optionals stdenv.isDarwin [ Security libiconv ] 61 + ++ lib.optionals (pythonOlder "3.9") [ libxcrypt ]; 60 62 61 63 propagatedBuildInputs = lib.optionals (!isPyPy) [ 62 64 cffi