python39.doc: fix build with sphinx >= 5.3.0
Backport upstream fix for cpython issue 98366 from 3.10 tree
This commit is contained in:
parent
20369b5329
commit
b51c572c62
1 changed files with 8 additions and 0 deletions
|
@ -604,6 +604,14 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
|
||||||
inherit src;
|
inherit src;
|
||||||
name = "python${pythonVersion}-${version}-doc";
|
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;
|
dontConfigure = true;
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
Loading…
Reference in a new issue