diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-09-10 10:27:03 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-09-10 10:27:03 +0000 |
commit | 930421d4ed09e5389e0ef4c5eef36075a6809cc0 (patch) | |
tree | f9f795c8b46a93a99f3a7495f6304f00fa42a2fb /compiler/ghc.cabal.in | |
parent | 5364ea8bd2086d3ce973988d583e3b4585d37b4d (diff) | |
download | haskell-930421d4ed09e5389e0ef4c5eef36075a6809cc0.tar.gz |
Change the representation of the package database
- the package DB is a directory containing one file per package
instance (#723)
- there is a binary cache of the database (#593, #2089)
- the binary package is now a boot package
- there is a new package, bin-package-db, containing the Binary
instance of InstalledPackageInfo for the binary cache.
Also included in this patch
- Use colour in 'ghc-pkg list' to indicate broken or hidden packages
Broken packages are red, hidden packages are
Colour support comes from the terminfo package, and is only used when
- not --simple-output
- stdout is a TTY
- the terminal type has colour capability
- Fix the bug that 'ghc-pkg list --user' shows everything as broken
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r-- | compiler/ghc.cabal.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index d05dc1aa9a..bed13f0827 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -88,6 +88,8 @@ Library if !flag(ncg) CPP-Options: -DOMIT_NATIVE_CODEGEN + Build-Depends: bin-package-db + -- GHC 6.4.2 needs to be able to find WCsubst.c, which needs to be -- able to find WCsubst.h Include-Dirs: ../libraries/base/cbits, ../libraries/base/include |