fix(build): configureFlags is a list, use ++ not + for -O0 flag
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled

This commit is contained in:
2026-04-30 22:38:17 +02:00
parent c03badc9dd
commit 1011557874

View File

@@ -113,7 +113,7 @@
# 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";
configureFlags = (old.configureFlags or []) ++ [ "--ghc-option=-O0" ];
postUnpack = (old.postUnpack or "") + ''
_types="$sourceRoot/build/Generated/Types.hs"