Unverified Commit b5c54289 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

Merge pull request #296225 from oliviacrain/py39-docs-sphinx-fix

python39.doc: fix build with sphinx >= 5.3.0
parents 696b91fe b51c572c
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -611,6 +611,14 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
      inherit src;
      name = "python${pythonVersion}-${version}-doc";

      patches = optionals (pythonAtLeast "3.9" && pythonOlder "3.10") [
        # https://github.com/python/cpython/issues/98366
        (fetchpatch {
          url = "https://github.com/python/cpython/commit/5612471501b05518287ed61c1abcb9ed38c03942.patch";
          hash = "sha256-p41hJwAiyRgyVjCVQokMSpSFg/VDDrqkCSxsodVb6vY=";
        })
      ];

      dontConfigure = true;

      dontBuild = true;