about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pydantic
diff options
context:
space:
mode:
authorKira Bruneau <kira.bruneau@pm.me>2022-07-16 13:15:53 -0400
committerGitHub <noreply@github.com>2022-07-16 13:15:53 -0400
commit14c054bc2b282cf589b63ea49d928e4d5adbcaa0 (patch)
tree9556b3b209fea5015df77a2fa3510530a83b2ef0 /pkgs/development/python-modules/pydantic
parent3036c0c69143d5d7d42a5003455c7f49b8a5a4c4 (diff)
parenta1ef6fff999ded36d860cb95312c044c4cbbde70 (diff)
Merge pull request #181743 from kira-bruneau/pydantic-darwin
python310Packages.pydantic: fix build on darwin
Diffstat (limited to 'pkgs/development/python-modules/pydantic')
-rw-r--r--pkgs/development/python-modules/pydantic/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pydantic/default.nix b/pkgs/development/python-modules/pydantic/default.nix
index 82ca1d29cdebd..19396b8ee51a3 100644
--- a/pkgs/development/python-modules/pydantic/default.nix
+++ b/pkgs/development/python-modules/pydantic/default.nix
@@ -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