The version of dev-haskell/text has to be the same as build in into ghc. Currently I stumbled over a version mismatch between ghc-8.4.3 (from haskell overlay) and dev-haskell/text-1.2.3.1. The version bundled in ghc is 1.2.3.0. When ghc and dev-haskell/text does not match, packages use _both_ versions and fail to compile badly. Combinations that I seen is: ghc-8.4.3: dev-haskell/text-1.2.3.0 ghc-8.4.4: dev-haskell/text-1.2.3.1 The same is valid for the versions in main gentoo repo.
(In reply to Klaus Ethgen from comment #0) > The version of dev-haskell/text has to be the same as build in into ghc. That's correct. We'll need to fix eclass to enforce that match.