summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc/docs-sphinx-7-ghc98.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/ghc/docs-sphinx-7-ghc98.patch')
-rw-r--r--pkgs/development/compilers/ghc/docs-sphinx-7-ghc98.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/docs-sphinx-7-ghc98.patch b/pkgs/development/compilers/ghc/docs-sphinx-7-ghc98.patch
new file mode 100644
index 00000000000..3fc1a0f2156
--- /dev/null
+++ b/pkgs/development/compilers/ghc/docs-sphinx-7-ghc98.patch
@@ -0,0 +1,8 @@
+Fix build of docs after sphinx update.
+https://github.com/sphinx-doc/sphinx/pull/11381
+https://gitlab.haskell.org/ghc/ghc/-/issues/24129
+--- a/docs/users_guide/rtd-theme/layout.html
++++ b/docs/users_guide/rtd-theme/layout.html
+@@ -28 +28 @@
+-    <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
++    <link rel="stylesheet" href="{{ pathto('_static/' + styles[-1], 1) }}" type="text/css" />