···205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207 })
0208 ./docs-sphinx-7.patch
209 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
210 # Prevent the paths module from emitting symbols that we don't use
···205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207 })
208+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
209 ./docs-sphinx-7.patch
210 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
211 # Prevent the paths module from emitting symbols that we don't use
+1
pkgs/development/compilers/ghc/9.4.3.nix
···205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207 })
0208 ./docs-sphinx-7.patch
209 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
210 # Prevent the paths module from emitting symbols that we don't use
···205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207 })
208+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
209 ./docs-sphinx-7.patch
210 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
211 # Prevent the paths module from emitting symbols that we don't use
+1
pkgs/development/compilers/ghc/9.4.4.nix
···205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207 })
0208 ./docs-sphinx-7.patch
209 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
210 # Prevent the paths module from emitting symbols that we don't use
···205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207 })
208+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
209 ./docs-sphinx-7.patch
210 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
211 # Prevent the paths module from emitting symbols that we don't use
+2
pkgs/development/compilers/ghc/9.4.5.nix
···205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207 })
00208 ./docs-sphinx-7.patch
209 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
210 # Prevent the paths module from emitting symbols that we don't use
···205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch";
206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv";
207 })
208+209+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
210 ./docs-sphinx-7.patch
211 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
212 # Prevent the paths module from emitting symbols that we don't use
+2
pkgs/development/compilers/ghc/9.4.6.nix
···197 extraPrefix = "libraries/Cabal/";
198 sha256 = "sha256-yRQ6YmMiwBwiYseC5BsrEtDgFbWvst+maGgDtdD0vAY=";
199 })
00200 ./docs-sphinx-7.patch
201202 # Work around a type not being defined when including Rts.h in bytestring's cbits
···197 extraPrefix = "libraries/Cabal/";
198 sha256 = "sha256-yRQ6YmMiwBwiYseC5BsrEtDgFbWvst+maGgDtdD0vAY=";
199 })
200+201+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
202 ./docs-sphinx-7.patch
203204 # Work around a type not being defined when including Rts.h in bytestring's cbits
+2
pkgs/development/compilers/ghc/9.4.7.nix
···197 extraPrefix = "libraries/Cabal/";
198 sha256 = "sha256-yRQ6YmMiwBwiYseC5BsrEtDgFbWvst+maGgDtdD0vAY=";
199 })
00200 ./docs-sphinx-7.patch
201 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
202 # Prevent the paths module from emitting symbols that we don't use
···197 extraPrefix = "libraries/Cabal/";
198 sha256 = "sha256-yRQ6YmMiwBwiYseC5BsrEtDgFbWvst+maGgDtdD0vAY=";
199 })
200+201+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
202 ./docs-sphinx-7.patch
203 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
204 # Prevent the paths module from emitting symbols that we don't use
+1
pkgs/development/compilers/ghc/common-hadrian.nix
···267 enableParallelBuilding = true;
268269 patches = [
0270 (if lib.versionAtLeast version "9.8"
271 then ./docs-sphinx-7-ghc98.patch
272 else ./docs-sphinx-7.patch )
···267 enableParallelBuilding = true;
268269 patches = [
270+ # Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
271 (if lib.versionAtLeast version "9.8"
272 then ./docs-sphinx-7-ghc98.patch
273 else ./docs-sphinx-7.patch )