lol

Merge pull request #181740 from kira-bruneau/pydantic

python310Packages.pydantic: fix using lib.optionalString

authored by

Kira Bruneau and committed by
GitHub
51569aef 43c06b91

+2 -2
+2 -2
pkgs/development/python-modules/pydantic/default.nix
··· 81 82 # Must include current directory into PYTHONPATH, since documentation 83 # building process expects "import pydantic" to work. 84 - preBuild = lib.optionals withDocs '' 85 PYTHONPATH=$PWD:$PYTHONPATH make docs 86 ''; 87 88 # Layout documentation in same way as "sphinxHook" does. 89 - postInstall = lib.optionals withDocs '' 90 mkdir -p $out/share/doc/$name 91 mv ./site $out/share/doc/$name/html 92 '';
··· 81 82 # Must include current directory into PYTHONPATH, since documentation 83 # building process expects "import pydantic" to work. 84 + preBuild = lib.optionalString withDocs '' 85 PYTHONPATH=$PWD:$PYTHONPATH make docs 86 ''; 87 88 # Layout documentation in same way as "sphinxHook" does. 89 + postInstall = lib.optionalString withDocs '' 90 mkdir -p $out/share/doc/$name 91 mv ./site $out/share/doc/$name/html 92 '';