stackage-curator-0.15.0.0: Tools for curating Stackage bundles

Safe HaskellNone
LanguageHaskell2010

Stackage.BuildPlan

Description

Representation of a concrete build plan, and how to generate a new one based on constraints.

Synopsis

Documentation

newBuildPlan Source #

Arguments

:: 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.

makeToolMap Source #

Arguments

:: Map Text (Set Text)

build tool overrides

-> Map PackageName PackagePlan 
-> Map ExeName (Set PackageName)