stack-3.1.1: The Haskell Tool Stack
Safe HaskellNone
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

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

Directory containing the configuration file.

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

Work directory in the directory of the configuration file (global or project-level).

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

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