[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-126.96.36.199 and for
parsec to use mtl-2.1.1, while xmobar would use this parsec version?
In this case, I am assuming that mtl-188.8.131.52 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-184.108.40.206
>> # cabal install xmobar --dry-run
>> Resolving dependencies...
>> In order, the following would be installed:
>> parsec-3.1.3 (reinstall) changes: mtl-2.1.1 -> 220.127.116.11
>> 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