Proposal: Ignore sub-minor version components in package id

Joachim Breitner mail at
Mon Oct 3 23:32:50 CEST 2011


Am Montag, den 03.10.2011, 22:52 +1100 schrieb Ivan Lazar Miljenovic:
> > I am only talking about the packages as registered with ghc-pkg, not the
> > packages as specified by .cabal. In distribution-lingo, the former are
> > binary packages and the latter are source packages.
> Would this not make it harder to determine which exact version of a
> package you have installed?  I believe cabal-install uses ghc-pkg to
> know which versions are installed, so how would it know whether you
> have the latest bug-fix release installed?

no, that would also not be the case.

Have a look at "ghc-pkg describe network". You see that it keeps track
of the version in a field of its own. I am only talking about the id
that appears in the "id" and "depends" fields.


Joachim "nomeata" Breitner
  mail at  |  nomeata at  |  GPG: 0x4743206C
  xmpp: nomeata at |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Libraries mailing list