a minimal repro
stack install && haskell-code-indexer --verbose crashes with a segmentation fault!
stack install && haskell-code-indexer --verbose