Distribution.Simple.UHC

Cabal-2.2.0.1: A framework for packaging Haskell software

Copyright | Andres Loeh 2009
License | BSD3
Maintainer | cabal-devel@haskell.org
Portability | portable
Safe Haskell | None
Language | Haskell2010

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

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

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

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

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

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

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

inplacePackageDbPath :: LocalBuildInfo -> FilePath #