cabal install version selection

Christian Hoener zu Siederdissen choener at tbi.univie.ac.at
Mon Apr 2 15:00:04 CEST 2012


Thanks,

that was a rather curious problem then. With more version annotations,
hackage compiled everything.

Thanks for for testing!

Gruss,
Christian

* Albert Y. C. Lai <trebla at vex.net> [31.03.2012 03:58]:
> On 12-03-30 06:37 PM, Christian Höner zu Siederdissen wrote:
> >I fail to remember or re-google the package version selection for cabal,
> >if no version constraints are given.
> >
> >If I depend on "iteratee", and there are no constraints, does it take
> >the lowest version?
> 
> It takes the highest version.
> 
> To verify, I fetched RNAFold.cabal of 1.99.1.0 and tried:
> 
> cabal install --dry-run
> 
> Its answer:
> 
> Resolving dependencies...
> In order, the following would be installed (use -v for more details):
> ListLike-3.1.4
> MonadCatchIO-transformers-0.2.2.3
> OneTuple-0.2.1
> PrimitiveArray-0.2.1.1
> ADPfusion-0.0.1.0
> bytestring-lexing-0.4.0
> cmdargs-0.9.5
> csv-0.1.2
> file-embed-0.0.4.1
> iteratee-0.8.8.1
> ...
> 
> It chooses the newest iteratee alright.
> 
> I don't know what is going on with hackage's build bot. And I can't
> control it anyway.
> 
> 
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20120402/c7bb36c7/attachment.pgp>


More information about the Glasgow-haskell-users mailing list