Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/bbd4fca13e81902c069fa8b7111b3e9495466cb2

>---------------------------------------------------------------

commit bbd4fca13e81902c069fa8b7111b3e9495466cb2
Author: Duncan Coutts <[email protected]>
Date:   Wed Apr 30 19:33:51 2008 +0000

    Remove the resolveDependenciesLocal, implement it via resolveDependencies
    The local variant was for the case that we were starting from a package
    description rather than a dependency to a named package. In the local
    case we not only need to resolve the dependencies of the package but also
    to find a flag assignment for the local package. This case crops up in
    the resolver normally when we try to satisfy a dependency, we have to
    pick a flag assignment for the dependency and resolve its dependencies.
    It is annoying to have both entry points, especially as we want the
    resolver to be plugable. So instead we define the local package as an
    available package, then by resolving a single dependency on exactly the
    name and version of the local package then we can get an install plan for
    the local package. It also requires generalising installPkg to deal with
    the local case.

 cabal-install/Hackage/Dependency.hs |   19 --------------
 cabal-install/Hackage/Install.hs    |   48 +++++++++++++++++++++++++---------
 2 files changed, 35 insertions(+), 32 deletions(-)


Diff suppressed because of size. To see it, use:

    git show bbd4fca13e81902c069fa8b7111b3e9495466cb2

_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to