generated from coulomb/repo-seed
fix(build): force -O0 via configureFlags.ghc-option (cabal ghc-options not reliable in postUnpack)
This commit is contained in:
@@ -112,6 +112,8 @@
|
||||
# Splits the monolithic Generated.Types (119 imports, ~287 MB
|
||||
# interface-file overflow in GHC 9.10.3) into two halves.
|
||||
# All awk/printf: no external file deps, no git-tracking required.
|
||||
# -O0 keeps .hi files small (strips unfoldings/specialisations).
|
||||
configureFlags = (old.configureFlags or "") + " --ghc-option=-O0";
|
||||
postUnpack = (old.postUnpack or "") + ''
|
||||
_types="$sourceRoot/build/Generated/Types.hs"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user