|
70 | 70 | from = start: final.lib.optional (versionAtLeast start);
|
71 | 71 | until = end: final.lib.optional (versionLessThan end);
|
72 | 72 | always = final.lib.optional true;
|
73 |
| - onDarwin = final.lib.optionals final.stdenv.targetPlatform.isDarwin; |
| 73 | + onDarwin = final.lib.optionals final.stdenv.targetPlatform.isDarwin; |
74 | 74 | onMusl = final.lib.optionals final.stdenv.targetPlatform.isMusl;
|
75 | 75 | onWindows = final.lib.optionals final.stdenv.targetPlatform.isWindows;
|
76 | 76 | onWindowsOrMusl = final.lib.optionals (final.stdenv.targetPlatform.isWindows || final.stdenv.targetPlatform.isMusl);
|
@@ -260,6 +260,20 @@ in {
|
260 | 260 |
|
261 | 261 | # Fix issue loading windows dll using `.dll.a` file
|
262 | 262 | ++ onWindows (fromUntil "9.4" "9.12" ./patches/ghc/ghc-9.10-windows-dll-dependent-symbol-type-fix.patch)
|
| 263 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/ghc-9.2-windows-dll-dependent-symbol-type-fix.patch) |
| 264 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0001-Graft-9.10.1-linker-in.patch) |
| 265 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0002-Disable-ReportMemoryMap.patch) |
| 266 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0003-StrHashTable-is-really-just-HashTable-facepalm.patch) |
| 267 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0004-Add-includes-rts-Linker.h-as-well.patch) |
| 268 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0005-Also-need-RtsSymbols.h.patch) |
| 269 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0006-Also-need-pathutils.patch) |
| 270 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0007-Can-not-have-RtsSymbols.h-without-RtsSymbols.c.patch) |
| 271 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0008-Needs-linker_verbose-flag.patch) |
| 272 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0009-Drop-non-existing-RtsSymbols.patch) |
| 273 | + # ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0010-One-more-debug-flag-L.patch) |
| 274 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0011-Add-ENVIRON-check.patch) |
| 275 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0012-fixup-HAVE_DECL_ENVIRON.patch) |
| 276 | + ++ onWindows (fromUntil "8.10" "8.12" ./patches/ghc/0013-add-STG_NORETURN-to-Stg.h.patch) |
263 | 277 | ;
|
264 | 278 | in ({
|
265 | 279 | ghc8107 = traceWarnOld "8.10" (final.callPackage ../compiler/ghc {
|
|
0 commit comments