Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal On branch : master
http://hackage.haskell.org/trac/ghc/changeset/f7c2ea7d602ad2fe29a4c2374219a26163cdd0d1 >--------------------------------------------------------------- commit f7c2ea7d602ad2fe29a4c2374219a26163cdd0d1 Author: Duncan Coutts <[email protected]> Date: Mon May 5 09:17:43 2008 +0000 Switch from DepGraph to InstallPlan The dependency resolver has had to be extended in a slightly hacky way to gather the extra information needed by an install plan. In particular it requires the flags to use to configure each package, the actual versions of dependencies to use and all of the installed packages and their closure of dependencies. However the current resolver is fairly naive and so can be easily persuaded into producing an invalid install plan, in which case you'll get a detailed list of reasons as to why it is invalid. cabal-install/Hackage/DepGraph.hs | 121 ----------------------------------- cabal-install/Hackage/Dependency.hs | 112 ++++++++++++++++++++++++-------- cabal-install/Hackage/Fetch.hs | 11 ++- cabal-install/Hackage/Install.hs | 78 ++++++++++------------ cabal-install/cabal-install.cabal | 1 - 5 files changed, 126 insertions(+), 197 deletions(-) Diff suppressed because of size. To see it, use: git show f7c2ea7d602ad2fe29a4c2374219a26163cdd0d1 _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
