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:
parent
5fe1f7bfac
commit
3664af59f2
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue