python310Packages.pydantic: fix build on darwin

This commit is contained in:
Kira Bruneau 2022-07-16 11:56:42 -04:00
parent 1224622646
commit a1ef6fff99

View File

@ -11,7 +11,8 @@
, pythonOlder
, typing-extensions
# dependencies for building documentation.
, withDocs ? (stdenv.hostPlatform == stdenv.buildPlatform)
# docs fail to build in Darwin sandbox: https://github.com/samuelcolvin/pydantic/issues/4245
, withDocs ? (stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.isDarwin)
, ansi2html
, markdown-include
, mkdocs