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 /utils/ghc-cabal | |
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 'utils/ghc-cabal')
-rw-r--r-- | utils/ghc-cabal/ghc-cabal.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-cabal/ghc-cabal.hs b/utils/ghc-cabal/ghc-cabal.hs index e97850db1b..3d9cf13dcb 100644 --- a/utils/ghc-cabal/ghc-cabal.hs +++ b/utils/ghc-cabal/ghc-cabal.hs @@ -155,7 +155,7 @@ doInstall ghc ghcpkg topdir directory distDir myDestDir myPrefix myLibdir myDocd programArgs = ["-B" ++ topdir], programLocation = UserSpecified ghc } - ghcpkgconf = topdir </> "package.conf" + ghcpkgconf = topdir </> "package.conf.d" ghcPkgProg = ConfiguredProgram { programId = programName ghcPkgProgram, programVersion = Nothing, |