[Haskell-cafe] Cabal dependencies

Yuras Shumovich shumovichy at gmail.com
Sat Oct 6 17:17:08 CEST 2012

On Sat, 2012-10-06 at 17:02 +0200, José Lopes wrote:
> Hello,
> I'm trying to understand Cabal dependencies.
> Why does the following situation happen?

xmobar-0.15 depends on mtl-2.0.* and needs parsec

All packages that will be broken, depends on parsec.
But parsec is compiled with mtl-2.1.1
To install xmobar, cabal needs to reinstall parsec with mtl-


> # cabal install xmobar --dry-run
> Resolving dependencies...
> In order, the following would be installed:
> parsec-3.1.3 (reinstall) changes: mtl-2.1.1 ->
> xmobar-0.15 (new package)
> Warning: The following packages are likely to be broken by the reinstalls:

> Best regards,
> José

More information about the Haskell-Cafe mailing list