ContentsIndex
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
buildDir :: FilePath
packageDeps :: [PackageIdentifier]
executableDeps :: [(String, [PackageIdentifier])]
}
configure :: PackageDescription -> ConfigFlags -> IO LocalBuildInfo
localBuildInfoFile :: FilePath
exeDeps :: String -> LocalBuildInfo -> [PackageIdentifier]
buildDepToDep :: Dependency -> 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
buildDir :: FilePathWhere to put the result of building.
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.
buildDepToDep :: Dependency -> PackageIdentifier
Converts build dependencies to real dependencies. FIX: doesn't set any version information - will need to query HC-PKG for this.
Produced by Haddock version 0.6