chore(debug): add -ddump-if-trace to inter-hub-models to diagnose GHC crash
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled

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:
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"