Cabal
CopyrightAndres Loeh 2009
LicenseBSD3
Maintainercabal-devel@haskell.org
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Simple.UHC

Description

This module contains most of the UHC-specific code for configuring, building and installing packages.

Thanks to the authors of the other implementation-specific files, in particular to Isaac Jones, Duncan Coutts and Henning Thielemann, for inspiration on how to design this module.

Documentation

getInstalledPackages :: Verbosity -> Compiler -> Maybe (SymbolicPath CWD (Dir from)) -> PackageDBStackX (SymbolicPath from (Dir PkgDB)) -> ProgramDb -> IO InstalledPackageIndex Source #

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

buildExe :: Verbosity -> PackageDescription -> LocalBuildInfo -> Executable -> ComponentLocalBuildInfo -> IO () Source #

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

registerPackage :: Verbosity -> Maybe (SymbolicPath CWD (Dir from)) -> Compiler -> ProgramDb -> PackageDBStackS from -> InstalledPackageInfo -> IO () Source #

inplacePackageDbPath :: LocalBuildInfo -> SymbolicPath Pkg (Dir PkgDB) Source #