stackage-curator-0.15.0.0: Tools for curating Stackage bundles

Safe HaskellNone
LanguageHaskell2010

Stackage.BuildConstraints

Description

The constraints on package selection for a new build plan.

Synopsis

Documentation

data BuildConstraints Source #

Constructors

BuildConstraints 

Fields

defaultBuildConstraints :: Manager -> IO BuildConstraints Source #

The proposed plan from the requirements provided by contributors.

Checks the current directory for a build-constraints.yaml file and uses it if present. If not, downloads from Github.

toBC :: ConstraintFile -> IO BuildConstraints Source #

setConstraints :: [Dependency] -> BuildConstraints -> BuildConstraints Source #

Modify the version bounds with the given Dependencies