[commit: Cabal] : Adjust to the change in the type of getInstalledPackages (46cedfe)
Ian Lynagh
igloo at earth.li
Fri Jun 24 02:05:47 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch :
http://hackage.haskell.org/trac/ghc/changeset/46cedfeec6d4e632d52c75237fcfdf7ed07cd41d
>---------------------------------------------------------------
commit 46cedfeec6d4e632d52c75237fcfdf7ed07cd41d
Author: Duncan Coutts <duncan at haskell.org>
Date: Tue Dec 29 21:20:20 2009 +0000
Adjust to the change in the type of getInstalledPackages
It used to return Maybe, now it always gives us a PackageIndex.
This depends on an API change in Cabal-1.9.x.
cabal-install/Distribution/Client/Configure.hs | 6 +-
cabal-install/Distribution/Client/Dependency.hs | 11 +--
.../Distribution/Client/Dependency/Bogus.hs | 129 --------------------
cabal-install/Distribution/Client/Fetch.hs | 2 +-
cabal-install/Distribution/Client/IndexUtils.hs | 5 +-
cabal-install/Distribution/Client/Install.hs | 26 ++---
cabal-install/Distribution/Client/List.hs | 4 +-
cabal-install/Distribution/Client/SetupWrapper.hs | 4 +-
cabal-install/cabal-install.cabal | 3 +-
9 files changed, 21 insertions(+), 169 deletions(-)
Diff suppressed because of size. To see it, use:
git show 46cedfeec6d4e632d52c75237fcfdf7ed07cd41d
More information about the Cvs-libraries
mailing list