stackage-0.5.2: "Stable Hackage," tools for creating a vetted set of packages from Hackage.

Safe HaskellNone
LanguageHaskell2010

Stackage.BuildConstraints

Description

The constraints on package selection for a new build plan.

Synopsis

Documentation

data BuildConstraints Source

Constructors

BuildConstraints 

Fields

bcPackages :: Set PackageName

This does not include core packages.

bcPackageConstraints :: PackageName -> PackageConstraints
 
bcSystemInfo :: SystemInfo
 
bcGithubUsers :: Map Text (Set Text)

map an account to set of pingees

data TestState Source

Constructors

ExpectSuccess 
ExpectFailure 
Don'tBuild

when the test suite will pull in things we don't want

data SystemInfo Source

Constructors

SystemInfo 

Fields

siGhcVersion :: Version
 
siOS :: OS
 
siArch :: Arch
 
siCorePackages :: Map PackageName Version
 
siCoreExecutables :: Set ExeName
 

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

data BuildConstraintsSource Source

Constructors

BCSDefault 
BCSFile FilePath 
BCSWeb Request