The Haskell CabalSource codeContentsIndex
Distribution.Simple.Configure
Portability GHC
Stability alpha
Maintainer Isaac Jones <ijones@syntaxpolice.org>
Description
Explanation: Perform the ./setup configure action. Outputs the .setup-config file.
Synopsis
writePersistBuildConfig :: LocalBuildInfo -> IO ()
getPersistBuildConfig :: IO LocalBuildInfo
data LocalBuildInfo = LocalBuildInfo {
prefix :: FilePath
compiler :: Compiler
packageDeps :: [PackageIdentifier]
executableDeps :: [(String, [PackageIdentifier])]
}
configure :: PackageDescription -> ConfigFlags -> IO LocalBuildInfo
localBuildInfoFile :: FilePath
exeDeps :: String -> LocalBuildInfo -> [PackageIdentifier]
Documentation
writePersistBuildConfig :: LocalBuildInfo -> IO ()
getPersistBuildConfig :: IO LocalBuildInfo
data LocalBuildInfo
Data cached after configuration step.
Constructors
LocalBuildInfo
prefix :: FilePathThe installation directory (eg. usrlocal, or C:Program Filesfoo-1.2 on Windows.
compiler :: CompilerThe compiler we're building with
packageDeps :: [PackageIdentifier]Which packages we depend on, *exactly*, The PackageDescription specifies a set of build dependencies that must be satisfied in terms of version ranges. This field fixes those dependencies to the specific versions available on this machine for this compiler.
executableDeps :: [(String, [PackageIdentifier])]
Instances
Show LocalBuildInfo
Read LocalBuildInfo
Eq LocalBuildInfo
configure :: PackageDescription -> ConfigFlags -> IO LocalBuildInfo
localBuildInfoFile :: FilePath
exeDeps :: String -> LocalBuildInfo -> [PackageIdentifier]
Throws an error if it's not found.
Produced by Haddock version 0.6