[commit: ghc] wip/remove-cabal-dep: Use ghc-local types for packages, rather than Cabal types (8e3fdcb)

git at git.haskell.org git at git.haskell.org
Sun Aug 24 22:47:24 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/remove-cabal-dep
Link       : http://ghc.haskell.org/trac/ghc/changeset/8e3fdcb6e406ebf9ff6cfd62350663923e6c6e79/ghc

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

commit 8e3fdcb6e406ebf9ff6cfd62350663923e6c6e79
Author: Duncan Coutts <duncan at well-typed.com>
Date:   Fri Aug 22 14:38:10 2014 +0100

    Use ghc-local types for packages, rather than Cabal types
    
    Also start using the new package db file format properly, by using the
    ghc-specific section.
    
    This is the main patch in the series for removing the compiler's dep
    on the Cabal lib.


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

8e3fdcb6e406ebf9ff6cfd62350663923e6c6e79
 compiler/ghci/Linker.lhs                  |   8 +-
 compiler/main/Finder.lhs                  |  19 ++-
 compiler/main/PackageConfig.hs            | 124 ++++++++++++-------
 compiler/main/Packages.lhs                |  74 ++++++------
 libraries/bin-package-db/GHC/PackageDb.hs | 195 +++++++++++++++++++++++++++---
 utils/ghc-pkg/Main.hs                     |  60 ++++++++-
 6 files changed, 360 insertions(+), 120 deletions(-)

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

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 8e3fdcb6e406ebf9ff6cfd62350663923e6c6e79


More information about the ghc-commits mailing list