soup-up "ghc-pkg check"
authorSimon Marlow <marlowsd@gmail.com>
Thu, 15 Jan 2009 12:21:43 +0000 (12:21 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 15 Jan 2009 12:21:43 +0000 (12:21 +0000)
commit9f7a24c858fcd4d61342e1497d422efff587fad3
treee76830c272e3d147f4af52f4e6b4cfa014b4076f
parenta078252410f284229e5f2440e7b8a9b32a6cfd33
soup-up "ghc-pkg check"

We now look for missing files (including .hi files), and report all
the packages that are transitively broken.

$ ghc-pkg check
There are problems in package syb-0.1.0.0:
  dependency foo-4.0.0.0 doesn't exist
There are problems in package process-1.0.1.1:
  file System/Process.hi is missing

The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
syb-0.1.0.0
process-1.0.1.1
base-3.0.3.0
Cabal-1.7.0
haskell98-1.0.1.0
haddock-2.4.2
ghc-6.11
utils/ghc-pkg/Main.hs