diff --git a/pkgs/development/python-modules/pydantic/default.nix b/pkgs/development/python-modules/pydantic/default.nix index 4384e51db22b..84de5894f501 100644 --- a/pkgs/development/python-modules/pydantic/default.nix +++ b/pkgs/development/python-modules/pydantic/default.nix @@ -6,7 +6,6 @@ , devtools , email-validator , fetchFromGitHub -, fetchpatch , pytest-mock , pytestCheckHook , python-dotenv @@ -53,6 +52,10 @@ buildPythonPackage rec { postPatch = '' sed -i '/flake8/ d' Makefile + + # Disable strict docs build due warnings being treated as errors + substituteInPlace mkdocs.yml \ + --replace "strict: true" "strict: false" ''; buildInputs = lib.optionals (pythonOlder "3.9") [