chore(debug): add -ddump-if-trace to inter-hub-models to diagnose GHC crash

All 477 modules compile successfully but GHC panics at position 287,686,318
during finalization. Trace will show which .hi file is being read at crash time.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
tegwick 2026-05-01 23:27:21 +02:00
parent 5fe1f7bfac
commit 3664af59f2

View file

@ -124,6 +124,7 @@
configureFlags = (old.configureFlags or []) ++ [
"--ghc-option=-O0"
"--ghc-option=-fomit-interface-pragmas"
"--ghc-option=-ddump-if-trace"
];
postUnpack = (old.postUnpack or "") + ''
_actual="$sourceRoot/build/Generated/ActualTypes.hs"