Regarding Package Environment Files
hexagoxel at hexagoxel.de
Sat Aug 25 14:31:03 UTC 2018
this topic was discussed on mailing list before, but I don't think anything came of it. It was also recently discussed on the cabal issue tracker  but alas the cabal maintainers have so far not shown interest in resolving the issue.
And while cabal-install caused this problem to surface for many users, the fact that package environment files unnecessarily add state to ghc behaviour holds regardless of cabal behaviour, and must be addressed on ghc's end. I expand on this reasoning in a blog post .
Thanks for considering.
More information about the ghc-devs