cabal install version selection

Christian Höner zu Siederdissen choener at tbi.univie.ac.at
Sat Mar 31 00:37:32 CEST 2012


Hi everybody,

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?


When I pushed the newest version of the RNAFold package, the log showed
iteratee-0.1.0 to be used, which failed of course:
http://hackage.haskell.org/packages/archive/RNAFold/1.99.1.0/logs/failure/ghc-7.4

It got really weird, however when I saw that the dependency
BiobaseVienna-0.2.2.3, which is the one actually using iteratee, was
built correctly.

Of course, seeing the error of my way, I have started adding more
version constraints to every package I maintain.



Gruss,
Christian
-------------- 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/20120331/a5e0a99b/attachment.pgp>


More information about the Glasgow-haskell-users mailing list