diff options
author | Kira Bruneau <kira.bruneau@pm.me> | 2022-07-16 11:56:42 -0400 |
---|---|---|
committer | Kira Bruneau <kira.bruneau@pm.me> | 2022-07-16 12:04:08 -0400 |
commit | a1ef6fff999ded36d860cb95312c044c4cbbde70 (patch) | |
tree | 9bc81ab94536f4963ec1328d766ca7700f5f68e7 /pkgs/development/python-modules/pydantic | |
parent | 1224622646cb038de84f6bb970bd4aab032ee2c1 (diff) |
python310Packages.pydantic: fix build on darwin
Diffstat (limited to 'pkgs/development/python-modules/pydantic')
-rw-r--r-- | pkgs/development/python-modules/pydantic/default.nix | 3 |
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 a1f567adcd590..d24928092f929 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 |