Closed saurabhnanda closed 5 months ago
I reproduced this, and took a loook at what's happening. I think the problem is that you are specifying containers-0.6.8
, but the stack resolver you are using is LTS 18.28, which is based on ghc 8.10.7. This is problematic, because containers
is a boot library; specifically, ghc
(as API, a dependency of large-anon
) is built against containers-0.6.5.1
; by specifying that you want a different version of containers
, you essentially end up with two versions of the types defined in containers
, one from containers-0.6.5.1
(which ghc
is linked against) and one from your explicit dependencies. The error message you are getting is (I think) because it's using Map
from containers-0.6.8
but ghc
only defines Outputable
instances for Map
from containers-0.6.5.1
. Generally, using multiple versions of the same package in one build is not something that the Haskell build tools can deal with very well.
If you drop the version override on containers
the problem goes away.
Hope that helps! :)
I'm running into the following error when trying to compile
large-anon
with the following settings: