Skip to content

Commit bf71cce

Browse files
committed
Add pool alignment and hidden support for 9.6
Pool alignment only for musl.
1 parent e6f1c5e commit bf71cce

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
@@ -292,6 +292,8 @@ in {
292292
# these two are abit questionable. They are pretty rough, and assume static binary as well as posix.
293293
# ++ final.lib.optional (versionAtLeast "9.6" && versionLessThan "9.9" && final.stdenv.targetPlatform.isMusl) ./patches/ghc/ghc-9.6-0004-ghcidladdr.patch
294294
# ++ 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
295+
++ 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
296+
++ 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
295297
;
296298
in ({
297299
ghc865 = final.callPackage ../compiler/ghc (traceWarnOld "8.6" {

0 commit comments

Comments
 (0)