Commit Graph

6 Commits

Author SHA1 Message Date
Daniel Gröber 30b8366526 Refactor the way packages databases are handled
- 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
2014-04-15 05:15:50 +02:00
Kazu Yamamoto 983fc68f5b handling multiple package names from ghc-pkg find-module. 2014-03-30 12:37:29 +09:00
Kazu Yamamoto 955b1b4091 user package db options for both GHC and ghc-pkg. 2014-03-28 12:05:11 +09:00
Kazu Yamamoto 5dbea7b909 error handling for doc. 2014-03-27 16:40:34 +09:00
Kazu Yamamoto fb08870d72 hlint hack. 2014-03-27 16:29:59 +09:00
Kazu Yamamoto 2dd7bab9b2 packageDoc for sandbox. 2014-03-27 16:22:49 +09:00