From a1ef6fff999ded36d860cb95312c044c4cbbde70 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Sat, 16 Jul 2022 11:56:42 -0400 Subject: [PATCH] python310Packages.pydantic: fix build on darwin --- pkgs/development/python-modules/pydantic/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pydantic/default.nix b/pkgs/development/python-modules/pydantic/default.nix index a1f567adcd59..d24928092f92 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