80ddf63691
When ghc-pkg is invoked from a stack project the global database is indeed used: $ stack exec -- ghc-pkg find-module Data.Maybe /var/lib/ghc/package.conf.d base-4.9.0.0 /home/user/.stack/snapshots/x86_64-linux/lts-7.11/8.0.1/pkgdb (no packages) /home/user/work/ghc-mod-5.6.0.0/.stack-work/install/x86_64-linux/lts-7.11/8.0.1/pkgdb (no packages) Therefore "ghc-mod doc" should also use GlobalDb |
||
---|---|---|
.. | ||
GhcMod | ||
GhcMod.hs |