patch applied (ghc-6.12/packages/Cabal): Rewrite the PackageIndex again

Ian Lynagh igloo at earth.li
Tue Oct 6 17:06:11 EDT 2009


Mon Oct  5 04:03:30 PDT 2009  Duncan Coutts <duncan at haskell.org>
  * Rewrite the PackageIndex again
  Ignore-this: ea36efcd3ee2bb5dae40de998b6b4de6
  It's a unified index again, rather than one for looking up by an
  InstalledPackageId and one for the source PackageId. The new one
  lets you look up by either. It also maintains the order of
  preference of different installed packages that share the same
  source PackageId. In configure we just pick the first preference.

    M ./Distribution/Simple/Configure.hs -9 +11
    M ./Distribution/Simple/GHC.hs -2 +2
    M ./Distribution/Simple/Haddock.hs -1 +1
    M ./Distribution/Simple/JHC.hs -2 +2
    M ./Distribution/Simple/LHC.hs -2 +2
    M ./Distribution/Simple/LocalBuildInfo.hs -3 +3
    M ./Distribution/Simple/PackageIndex.hs -258 +251
    M ./Distribution/Simple/PreProcess.hs -3 +4

View patch online:
http://darcs.haskell.org/ghc-6.12/packages/Cabal/_darcs/patches/20091005110330-adfee-554d69ab61319d8a1fcd26906145bd5276e1c0b6.gz


More information about the Cvs-libraries mailing list