mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
a8c2421e5b
With sphinx 4, interpreting the conf.py fails due to a decode error: https://gitlab.haskell.org/ghc/ghc/-/issues/19962 The fix is an one line change which we have to backport from GHC master. Thus ghcHEAD is not affected by this problem. 9.2 and 8.10.6 will most likely have a fix for this. TODO: Patch 8.8.4 and 9.0.1
12 lines
355 B
Diff
12 lines
355 B
Diff
--- ghc-8.10.4/docs/users_guide/conf.py.orig 2021-06-21 13:46:34.196383559 +0200
|
|
+++ ghc-8.10.4/docs/users_guide/conf.py 2021-06-21 13:46:54.839349941 +0200
|
|
@@ -100,7 +100,7 @@
|
|
latex_elements = {
|
|
'inputenc': '',
|
|
'utf8extra': '',
|
|
- 'preamble': '''
|
|
+ 'preamble': r'''
|
|
\usepackage{fontspec}
|
|
\usepackage{makeidx}
|
|
\setsansfont{DejaVu Sans}
|