[Haskell-cafe] Cabal hell (8.2.1,/Haskell Package/MacOS X)

Mikhail Glushenkov mikhail.glushenkov at gmail.com
Thu Oct 5 15:47:47 UTC 2017


Hi,

On 5 October 2017 at 16:29, Stuart A. Kurtz <stuart at cs.uchicago.edu> wrote:
> I have problems around trying to install some standard packages: hlint, aeson. A typical error reported by cabal is
>
> <command line>: cannot satisfy -package-id hashable-1.2.6.1-14fEJP30YhAG9w115PODz0:
>     hashable-1.2.6.1-14fEJP30YhAG9w115PODz0 is unusable due to shadowed dependencies:
>       text-1.2.2.2-EGUst8sqNAZCw1xLPcmcMH

This looks like a known Cabal 2.0 bug, which I haven't yet got around to fix:

https://github.com/haskell/cabal/issues/4728

IIUC, this affects both Stack and Cabal, but only when used with GHC
8.2.1. Downgrading to GHC 8.0.2 should help for now.


More information about the Haskell-Cafe mailing list