Commit dd3185a9 authored by Alex Carney's avatar Alex Carney
Browse files

python38Packages.pydantic: fix build with libxcrypt

parent 7eaa1cf2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
, ujson
, orjson
, hypothesis
, libxcrypt
}:

buildPythonPackage rec {
@@ -51,6 +52,10 @@ buildPythonPackage rec {
    sed -i '/flake8/ d' Makefile
  '';

  buildInputs = lib.optionals (pythonOlder "3.9") [
    libxcrypt
  ];

  nativeBuildInputs = [
    cython
  ] ++ lib.optionals withDocs [