| License | BSD-3-Clause |
|---|---|
| Safe Haskell | None |
| Language | GHC2024 |
Stack.Build.Installed
Description
Determine which packages are already installed.
Synopsis
- getInstalled :: HasEnvConfig env => InstallMap -> RIO env (InstalledMap, [DumpPackage], [DumpPackage], [DumpPackage])
- toInstallMap :: MonadIO m => SourceMap -> m InstallMap
Documentation
Arguments
| :: HasEnvConfig env | |
| => InstallMap | does not contain any installed information |
| -> RIO env (InstalledMap, [DumpPackage], [DumpPackage], [DumpPackage]) |
Returns the new InstalledMap and all of the locally registered packages.
toInstallMap :: MonadIO m => SourceMap -> m InstallMap Source #
For the given SourceMap, yield a dictionary of package names for a
project's packages and dependencies, and pairs of their relevant database
(write-only or mutable) and package versions.