License | Apache-2.0 |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- getSandboxPkgDb :: String -> GhcVersion -> FilePath -> IO (Maybe FilePath)
- ghcSandboxPkgDbDir :: String -> GhcVersion -> String
- extractSandboxDbDir :: String -> Maybe FilePath
- dropWhileEnd :: (a -> Bool) -> [a] -> [a]
Documentation
:: String | Cabal build platform, i.e. |
-> GhcVersion | GHC version ( |
-> FilePath | Path to the cabal package root directory (containing the
|
-> IO (Maybe FilePath) |
Get the path to the sandbox package-db in a project
ghcSandboxPkgDbDir :: String -> GhcVersion -> String Source #
extractSandboxDbDir :: 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.
dropWhileEnd :: (a -> Bool) -> [a] -> [a] Source #