Distribution.Simple.HaskellSuite

Cabal-1.22.4.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 |
-> IO () |

registerPackage :: Verbosity -> InstalledPackageInfo -> PackageDescription -> LocalBuildInfo -> Bool -> PackageDBStack -> IO () Source

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

packageDbOpt :: PackageDB -> String Source