Hi Niklas - sounds like a nice usecase.
Though we need to make sure no usages are missing to make that decision (there are some edge cases yet, for example around TH splice application, or type families). Also it's only valid on the set of indexed packages.
I'll merge later, but
https://github.com/robinp/haskell-indexer/commit/0592c3d934515c4661c69c5b998e26a543b93b52 has the changes necessary. Note:
- It didn't index ~50 packages
- For some it complained that C libs are missing (like SDL, though I was using the full stack-build Docker image)
- I had to kill a few huge compilations that ate my RAM (Agda, language-python, and some yi packages)