Installs the packages needed to satisfy a list of dependencies.
Modulecabal-install-3.18.1.0Haskell2010
Distribution.Client.Install
High level interface to package installation.
Contents
Synopsis
- value install
- value makeInstallContext
- value makeInstallPlan
- value processInstallPlan
- type InstallArgs
- type InstallContext
- value pruneInstallPlan
- Packagecabal-install-3.18.1.0
- Exports7
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceInstall.hs
High-level interface
Lower-level interface that allows to manipulate the install plan
Make an install context given install arguments.
Make an install plan given install context and install arguments.
Given an install plan, perform the actual installations.
type
type InstallArgs = (PackageDBStackCWD, RepoContext, Compiler, Platform, ProgramDb, GlobalFlags, ConfigFlags, ConfigExFlags, InstallFlags, HaddockFlags, TestFlags, BenchmarkFlags)Initial arguments given to install or makeInstallContext.
type
type InstallContext = (InstalledPackageIndex, SourcePackageDb, Maybe PkgConfigDb, [UserTarget], [PackageSpecifier UnresolvedSourcePackage], HttpTransport)Common context for makeInstallPlan and processInstallPlan.
Prune certain packages from the install plan
Remove the provided targets from the install plan.