Cabal-1.8.0.6: A framework for packaging Haskell softwareSource codeContentsIndex
Distribution.Simple.Program.HcPkg
Portabilityportable
Maintainercabal-devel@haskell.org
Contents
Program invocations
Description
This module provides an library interface to the hc-pkg program. Currently only GHC and LHC have hc-pkg programs.
Synopsis
register :: Verbosity -> ConfiguredProgram -> PackageDB -> Either FilePath InstalledPackageInfo -> IO ()
reregister :: Verbosity -> ConfiguredProgram -> PackageDB -> Either FilePath InstalledPackageInfo -> IO ()
unregister :: Verbosity -> ConfiguredProgram -> PackageDB -> PackageId -> IO ()
expose :: Verbosity -> ConfiguredProgram -> PackageDB -> PackageId -> IO ()
hide :: Verbosity -> ConfiguredProgram -> PackageDB -> PackageId -> IO ()
dump :: Verbosity -> ConfiguredProgram -> PackageDB -> IO [InstalledPackageInfo]
registerInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> Either FilePath InstalledPackageInfo -> ProgramInvocation
reregisterInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> Either FilePath InstalledPackageInfo -> ProgramInvocation
unregisterInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> PackageId -> ProgramInvocation
exposeInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> PackageId -> ProgramInvocation
hideInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> PackageId -> ProgramInvocation
dumpInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> ProgramInvocation
Documentation
register :: Verbosity -> ConfiguredProgram -> PackageDB -> Either FilePath InstalledPackageInfo -> IO ()Source

Call hc-pkg to register a package.

 hc-pkg register {filename | -} [--user | --global | --package-conf]
reregister :: Verbosity -> ConfiguredProgram -> PackageDB -> Either FilePath InstalledPackageInfo -> IO ()Source

Call hc-pkg to re-register a package.

 hc-pkg register {filename | -} [--user | --global | --package-conf]
unregister :: Verbosity -> ConfiguredProgram -> PackageDB -> PackageId -> IO ()Source

Call hc-pkg to unregister a package

 hc-pkg unregister [pkgid] [--user | --global | --package-conf]
expose :: Verbosity -> ConfiguredProgram -> PackageDB -> PackageId -> IO ()Source

Call hc-pkg to expose a package.

 hc-pkg expose [pkgid] [--user | --global | --package-conf]
hide :: Verbosity -> ConfiguredProgram -> PackageDB -> PackageId -> IO ()Source

Call hc-pkg to expose a package.

 hc-pkg expose [pkgid] [--user | --global | --package-conf]
dump :: Verbosity -> ConfiguredProgram -> PackageDB -> IO [InstalledPackageInfo]Source
Call hc-pkg to get all the installed packages.
Program invocations
registerInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> Either FilePath InstalledPackageInfo -> ProgramInvocationSource
reregisterInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> Either FilePath InstalledPackageInfo -> ProgramInvocationSource
unregisterInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> PackageId -> ProgramInvocationSource
exposeInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> PackageId -> ProgramInvocationSource
hideInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> PackageId -> ProgramInvocationSource
dumpInvocation :: ConfiguredProgram -> Verbosity -> PackageDB -> ProgramInvocationSource
Produced by Haddock version 2.6.1