Safe Haskell | None |
---|---|
Language | Haskell2010 |
Representation of a concrete build plan, and how to generate a new one based on constraints.
- data BuildPlan = BuildPlan {}
- data PackagePlan = PackagePlan {}
- newBuildPlan :: MonadIO m => Either SomeException Text -> Map PackageName PackagePlan -> Map PackageName Version -> BuildConstraints -> m BuildPlan
- makeToolMap :: Map Text (Set Text) -> Map PackageName PackagePlan -> Map ExeName (Set PackageName)
- getLatestAllowedPlans :: MonadIO m => BuildConstraints -> m (Map PackageName PackagePlan, Map PackageName Version)
Documentation
BuildPlan | |
|
:: MonadIO m | |
=> Either SomeException Text | all-cabal-hashes repo commit |
-> Map PackageName PackagePlan | latest allowed plans |
-> Map PackageName Version | latest package version available |
-> BuildConstraints | |
-> m BuildPlan |
Make a build plan given these package set and build constraints.
:: Map Text (Set Text) | build tool overrides |
-> Map PackageName PackagePlan | |
-> Map ExeName (Set PackageName) |
getLatestAllowedPlans :: MonadIO m => BuildConstraints -> m (Map PackageName PackagePlan, Map PackageName Version) Source #