Merge pull request #181743 from kira-bruneau/pydantic-darwin

python310Packages.pydantic: fix build on darwin
This commit is contained in:
Kira Bruneau 2022-07-16 13:15:53 -04:00 committed by GitHub
commit 14c054bc2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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