Fix typo
This commit is contained in:
parent
2cd4d6bd80
commit
05360e0660
@ -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
|
||||
|
@ -144,7 +144,7 @@ findCabalSandboxDir dir = do
|
||||
_ -> Nothing
|
||||
|
||||
where
|
||||
isSandboxConfig = (==sandboConfigFile)
|
||||
isSandboxConfig = (==sandboxConfigFile)
|
||||
|
||||
zipMapM :: Monad m => (a -> m c) -> [a] -> m [(a,c)]
|
||||
zipMapM f as = mapM (\a -> liftM ((,) a) $ f a) as
|
||||
@ -180,8 +180,8 @@ parents dir' =
|
||||
setupConfigFile :: Cradle -> FilePath
|
||||
setupConfigFile crdl = cradleRootDir crdl </> setupConfigPath
|
||||
|
||||
sandboConfigFile :: FilePath
|
||||
sandboConfigFile = "cabal.sandbox.config"
|
||||
sandboxConfigFile :: FilePath
|
||||
sandboxConfigFile = "cabal.sandbox.config"
|
||||
|
||||
-- | Path to 'LocalBuildInfo' file, usually @dist/setup-config@
|
||||
setupConfigPath :: FilePath
|
||||
|
Loading…
Reference in New Issue
Block a user