stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Types.BuildConfig

Synopsis

Documentation

data BuildConfig Source #

A superset of Config adding information on how to build code. The reason for this breakdown is because we will need some of the information from Config in order to determine the values here.

These are the components which know nothing about local configuration.

Constructors

BuildConfig 

Fields

Instances

Instances details
HasPantryConfig BuildConfig Source # 
Instance details

Defined in Stack.Types.BuildConfig

HasLogFunc BuildConfig Source # 
Instance details

Defined in Stack.Types.BuildConfig

HasProcessContext BuildConfig Source # 
Instance details

Defined in Stack.Types.BuildConfig

HasTerm BuildConfig Source # 
Instance details

Defined in Stack.Types.BuildConfig

HasStylesUpdate BuildConfig Source # 
Instance details

Defined in Stack.Types.BuildConfig

HasBuildConfig BuildConfig Source # 
Instance details

Defined in Stack.Types.BuildConfig

HasConfig BuildConfig Source # 
Instance details

Defined in Stack.Types.BuildConfig

HasGHCVariant BuildConfig Source # 
Instance details

Defined in Stack.Types.BuildConfig

HasPlatform BuildConfig Source # 
Instance details

Defined in Stack.Types.BuildConfig

HasRunner BuildConfig Source # 
Instance details

Defined in Stack.Types.BuildConfig

projectRootL :: HasBuildConfig env => Getting r env (Path Abs Dir) Source #

Directory containing the project's stack.yaml file

getProjectWorkDir :: (HasBuildConfig env, MonadReader env m) => m (Path Abs Dir) Source #

Per-project work dir

wantedCompilerVersionL :: HasBuildConfig s => Getting r s WantedCompiler Source #

The compiler specified by the SnapshotDef. This may be different from the actual compiler used!