This commit is contained in:
Daniel Gröber
2015-08-11 06:35:07 +02:00
parent 2cd4d6bd80
commit 05360e0660
2 changed files with 4 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ getPackageDbStack' = chCached Cached {
cacheFile = pkgDbStackCacheFile,
cachedAction = \ _tcf (progs, rootdir, distdir, _) _ma -> do
dbs <- withCabal $ map chPkgToGhcPkg <$> runQuery' progs rootdir distdir packageDbStack
return ([setupConfigPath, sandboConfigFile], dbs)
return ([setupConfigPath, sandboxConfigFile], dbs)
}
chPkgToGhcPkg :: ChPkgDb -> GhcPkgDb