Installs the packages needed to satisfy a list of dependencies.
Modulecabal-install-3.12.1.0Haskell2010
Distribution.Client.Install
High level interface to package installation.
- 2 types
- 5 values
- Packagecabal-install-3.12.1.0
- Exports7
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceInstall.hs
High-level interface
1 declarationLower-level interface that allows to manipulate the install plan
5 declarationsMake 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 = (PackageDBStack, RepoContext, Compiler, Platform, ProgramDb, GlobalFlags, ConfigFlags, ConfigExFlags, InstallFlags, HaddockFlags, TestFlags, BenchmarkFlags)Initial arguments given to install or makeInstallContext.
type
type InstallContext = (InstalledPackageIndex, SourcePackageDb, PkgConfigDb, [UserTarget], [PackageSpecifier UnresolvedSourcePackage], HttpTransport)Common context for makeInstallPlan and processInstallPlan.
Prune certain packages from the install plan
1 declarationRemove the provided targets from the install plan.