| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Stack.Build.Installed
Synopsis
- type InstalledMap = Map PackageName (InstallLocation, Installed)
- data Installed
- getInstalled :: HasEnvConfig env => InstallMap -> RIO env (InstalledMap, [DumpPackage], [DumpPackage], [DumpPackage])
- type InstallMap = Map PackageName (InstallLocation, Version)
- toInstallMap :: MonadIO m => SourceMap -> m InstallMap
Documentation
type InstalledMap = Map PackageName (InstallLocation, Installed) Source #
Constructors
| Library PackageIdentifier GhcPkgId (Maybe (Either License License)) | |
| Executable PackageIdentifier |
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.
type InstallMap = Map PackageName (InstallLocation, Version) Source #
toInstallMap :: MonadIO m => SourceMap -> m InstallMap Source #