kazu-yamamoto/ghc-mod — pull request #220 by DanielG (2014-04-15 03:36:59+00:00)
Title: Refactor the way packages databases are handled and fix #185

Important changes:

- cradle now stores a list of active package databases instead of only
the user store (if present).

- rename `cradlePackageDb` -> `cradlePkgDbStack` as that`s what the ghc
documentaion calls this kind of thing

- `getPackageDbPackages` now returns names of all visible packages in
the given directory. Also the implementation now uses `ghc-pkg`
instead of manually looking at the package database