Use ghc-local types for packages, rather than Cabal types
authorDuncan Coutts <duncan@well-typed.com>
Fri, 22 Aug 2014 13:38:10 +0000 (14:38 +0100)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Fri, 29 Aug 2014 11:39:04 +0000 (12:39 +0100)
commit27d6c089549a2ee815940e6630a54cb372bbbcd2
treefbfc82a7ba5d66720b0edc0492ea261bd0cb2ac9
parent8d7a1dcdbee47a980d0ecc8fa8e9336866a75d1b
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.
compiler/ghci/Linker.lhs
compiler/main/Finder.lhs
compiler/main/PackageConfig.hs
compiler/main/Packages.lhs
libraries/bin-package-db/GHC/PackageDb.hs
utils/ghc-pkg/Main.hs