Distribution.Simple.HaskellSuite

Cabal-2.2.0.1: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell2010

Distribution.Simple.HaskellSuite

# Documentation

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

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

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

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

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

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

getInstalledPackages :: Verbosity -> PackageDBStack -> ProgramDb -> IO InstalledPackageIndex #

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

installLib #

Arguments

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

registerPackage :: Verbosity -> ProgramDb -> PackageDBStack -> InstalledPackageInfo -> IO () #

initPackageDB :: Verbosity -> ProgramDb -> FilePath -> IO () #

packageDbOpt :: PackageDB -> String #