Skip to content

Commit 96efeea

Browse files
committed
Add pool alignment and hidden support for 9.6
Pool alignment only for musl.
1 parent 99f7d25 commit 96efeea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

overlays/bootstrap.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ in {
289289
# these two are abit questionable. They are pretty rough, and assume static binary as well as posix.
290290
# ++ final.lib.optional (versionAtLeast "9.6" && versionLessThan "9.9" && final.stdenv.targetPlatform.isMusl) ./patches/ghc/ghc-9.6-0004-ghcidladdr.patch
291291
# ++ final.lib.optional (versionAtLeast "9.6" && versionLessThan "9.9" && final.stdenv.targetPlatform.isMusl) ./patches/ghc/ghc-9.6-0005-Better-interpreter-debugging.-Needs-ghcidladdr.patch
292+
++ final.lib.optional (versionAtLeast "9.6" && versionLessThan "9.9" && (final.stdenv.targetPlatform.isWindows || final.stdenv.targetPlatform.isMusl)) ./patches/ghc/ghc-9.6-0006-Adds-support-for-Hidden-symbols.patch
293+
++ final.lib.optional (versionAtLeast "9.6" && versionLessThan "9.9" && final.stdenv.targetPlatform.isMusl) ./patches/ghc/ghc-9.6-0007-fixup-Better-pool-alignment.-We-still-hardcode-secti.patch
292294
;
293295
in ({
294296
ghc865 = final.callPackage ../compiler/ghc (traceWarnOld "8.6" {

0 commit comments

Comments
 (0)