···205205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207207 })
208208+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
208209 ./docs-sphinx-7.patch
209210 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
210211 # Prevent the paths module from emitting symbols that we don't use
+1
pkgs/development/compilers/ghc/9.4.3.nix
···205205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207207 })
208208+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
208209 ./docs-sphinx-7.patch
209210 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
210211 # Prevent the paths module from emitting symbols that we don't use
+1
pkgs/development/compilers/ghc/9.4.4.nix
···205205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207207 })
208208+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
208209 ./docs-sphinx-7.patch
209210 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
210211 # Prevent the paths module from emitting symbols that we don't use
+2
pkgs/development/compilers/ghc/9.4.5.nix
···205205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207207 })
208208+209209+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
208210 ./docs-sphinx-7.patch
209211 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
210212 # Prevent the paths module from emitting symbols that we don't use
+2
pkgs/development/compilers/ghc/9.4.6.nix
···197197 extraPrefix = "libraries/Cabal/";
198198 sha256 = "sha256-yRQ6YmMiwBwiYseC5BsrEtDgFbWvst+maGgDtdD0vAY=";
199199 })
200200+201201+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
200202 ./docs-sphinx-7.patch
201203202204 # Work around a type not being defined when including Rts.h in bytestring's cbits
+2
pkgs/development/compilers/ghc/9.4.7.nix
···197197 extraPrefix = "libraries/Cabal/";
198198 sha256 = "sha256-yRQ6YmMiwBwiYseC5BsrEtDgFbWvst+maGgDtdD0vAY=";
199199 })
200200+201201+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
200202 ./docs-sphinx-7.patch
201203 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
202204 # Prevent the paths module from emitting symbols that we don't use
+1
pkgs/development/compilers/ghc/common-hadrian.nix
···267267 enableParallelBuilding = true;
268268269269 patches = [
270270+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
270271 (if lib.versionAtLeast version "9.8"
271272 then ./docs-sphinx-7-ghc98.patch
272273 else ./docs-sphinx-7.patch )