Distribution.Simple.HaskellSuite

Cabal-3.7.0.0: A framework for packaging Haskell software

Safe Haskell | Safe-Inferred
Language | Haskell2010

Distribution.Simple.HaskellSuite

# Documentation

configure :: Verbosity -> Maybe FilePath -> Maybe FilePath -> ProgramDb -> IO (Compiler, Maybe Platform, ProgramDb) 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, Maybe CompilerFlag)] Source #

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

getInstalledPackages :: Verbosity -> PackageDBStack -> ProgramDb -> 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 -> ProgramDb -> PackageDBStack -> InstalledPackageInfo -> IO () Source #

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

packageDbOpt :: PackageDB -> String Source #