Merge pull request #854 from l984/master
Fix for "ghc-mod doc" when used with stack projects
This commit is contained in:
commit
8be4885d86
@ -86,7 +86,7 @@ getPackageDbStack = do
|
||||
CabalProject ->
|
||||
getCabalPackageDbStack
|
||||
(StackProject StackEnv {..}) ->
|
||||
return $ map PackageDb [seSnapshotPkgDb, seLocalPkgDb]
|
||||
return $ [GlobalDb, PackageDb seSnapshotPkgDb, PackageDb seLocalPkgDb]
|
||||
return $ fromMaybe stack mCusPkgStack
|
||||
|
||||
getPackageCachePaths :: IOish m => FilePath -> GhcModT m [FilePath]
|
||||
|
Loading…
Reference in New Issue
Block a user