[Haskell-cafe] Cabal dependencies
jose.lopes at ist.utl.pt
Sat Oct 6 18:25:52 CEST 2012
But, wouldn't it be possible for xmobar to use mtl-220.127.116.11 and for
parsec to use mtl-2.1.1, while xmobar would use this parsec version?
In this case, I am assuming that mtl-18.104.22.168 and mtl-2.1.1 are
considered two different libraries.
On 06-10-2012 17:17, Yuras Shumovich wrote:
> On Sat, 2012-10-06 at 17:02 +0200, José Lopes wrote:
>> 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-22.214.171.124
>> # cabal install xmobar --dry-run
>> Resolving dependencies...
>> In order, the following would be installed:
>> parsec-3.1.3 (reinstall) changes: mtl-2.1.1 -> 126.96.36.199
>> xmobar-0.15 (new package)
>> Warning: The following packages are likely to be broken by the reinstalls:
>> Best regards,
José António Branquinho de Oliveira Lopes
Instituto Superior Técnico
Technical University of Lisbon
More information about the Haskell-Cafe