Cabal-1.24.2.0: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell98

Distribution.Simple.HaskellSuite

# Documentation

configure :: Verbosity -> Maybe FilePath -> Maybe FilePath -> ProgramConfiguration -> IO (Compiler, Maybe Platform, ProgramConfiguration) Source #

hstoolVersion :: Verbosity -> FilePath -> IO (Maybe Version) Source #

numericVersion :: Verbosity -> FilePath -> IO (Maybe Version) Source #

getCompilerVersion :: Verbosity -> ConfiguredProgram -> IO (String, Version) Source #

getExtensions :: Verbosity -> ConfiguredProgram -> IO [(Extension, Flag)] Source #

getLanguages :: Verbosity -> ConfiguredProgram -> IO [(Language, Flag)] Source #

getInstalledPackages :: Verbosity -> PackageDBStack -> ProgramConfiguration -> IO InstalledPackageIndex Source #

buildLib :: Verbosity -> PackageDescription -> LocalBuildInfo -> Library -> ComponentLocalBuildInfo -> IO () Source #

installLib Source #

Arguments

:: Verbosity |
-> LocalBuildInfo |
-> FilePath | install location
-> FilePath | install location for dynamic libraries
-> FilePath | Build location
-> PackageDescription |
-> Library |
-> ComponentLocalBuildInfo |
-> IO () |

registerPackage :: Verbosity -> ProgramConfiguration -> PackageDBStack -> InstalledPackageInfo -> IO () Source #

initPackageDB :: Verbosity -> ProgramConfiguration -> FilePath -> IO () Source #

packageDbOpt :: PackageDB -> String Source #