Safe Haskell | None |
---|---|
Language | Haskell2010 |
- extractKey :: String -> String -> Maybe FilePath
- mightExist :: FilePath -> IO (Maybe FilePath)
- addExtraPkgConfs :: DynFlags -> [FilePath] -> DynFlags
- getSandboxDb :: IO (Maybe FilePath)
- updateDynFlagsWithCabalSandbox :: MonadIO m => DynFlags -> m DynFlags
- getStackDb :: IO (Maybe [FilePath])
- updateDynFlagsWithStackDB :: MonadIO m => DynFlags -> m DynFlags
Documentation
extractKey :: String -> String -> Maybe FilePath Source #
Extract the sandbox package db directory from the cabal.sandbox.config file. Exception is thrown if the sandbox config file is broken.
getSandboxDb :: IO (Maybe FilePath) Source #
Get path to sandbox's package DB via the cabal.sandbox.config file