Multi-instance packages status report

Joachim Breitner mail at joachim-breitner.de
Mon Jul 21 20:06:49 UTC 2014


Hi,


Am Montag, den 21.07.2014, 18:43 +0100 schrieb Edward Z.Yang:
> In my copy of GHC and Cabal [1,2], you can now install multiple copies of a
> package with differing dependencies to the package database, i.e. q-1.0
> compiled against p-1.0, and against p-2.0.  The packages in the database
> are distinguished via a *package key*, which is an md5 hash of the
> package id (e.g. q-1.0) and the sorted list of the package IDs of the
> transitive closure of dependencies (e.g. p-1.0 or p-2.0).

maybe a stupid question, but how does the package key relate to the hash
that "ghc-pkg" shows for package?

Thanks,
Joachim



-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at debian.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140721/9146c7a3/attachment.sig>


More information about the ghc-devs mailing list