stack-3.9.1: A program for developing Haskell projects
LicenseBSD-3-Clause
Safe HaskellNone
LanguageGHC2024

Stack.Types.ConfigureOpts

Description

 
Synopsis

Documentation

data ConfigureOpts Source #

Configure options to be sent to Setup.hs configure.

Constructors

ConfigureOpts 

Fields

  • pathRelated :: ![String]

    Options related to various paths. We separate these out since they do not have an effect on the contents of the compiled binary for checking if we can use an existing precompiled cache.

  • nonPathRelated :: ![String]

    Options other than path-related options.

Instances

Instances details
NFData ConfigureOpts Source # 
Instance details

Defined in Stack.Types.ConfigureOpts

Methods

rnf :: ConfigureOpts -> () #

Data ConfigureOpts Source # 
Instance details

Defined in Stack.Types.ConfigureOpts

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ConfigureOpts -> c ConfigureOpts #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ConfigureOpts #

toConstr :: ConfigureOpts -> Constr #

dataTypeOf :: ConfigureOpts -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ConfigureOpts) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ConfigureOpts) #

gmapT :: (forall b. Data b => b -> b) -> ConfigureOpts -> ConfigureOpts #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ConfigureOpts -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ConfigureOpts -> r #

gmapQ :: (forall d. Data d => d -> u) -> ConfigureOpts -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ConfigureOpts -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ConfigureOpts -> m ConfigureOpts #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ConfigureOpts -> m ConfigureOpts #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ConfigureOpts -> m ConfigureOpts #

Generic ConfigureOpts Source # 
Instance details

Defined in Stack.Types.ConfigureOpts

Associated Types

type Rep ConfigureOpts 
Instance details

Defined in Stack.Types.ConfigureOpts

type Rep ConfigureOpts = D1 ('MetaData "ConfigureOpts" "Stack.Types.ConfigureOpts" "stack-3.9.1-B4Ctg8fkjlTKHjOvS8wzBh" 'False) (C1 ('MetaCons "ConfigureOpts" 'PrefixI 'True) (S1 ('MetaSel ('Just "pathRelated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [String]) :*: S1 ('MetaSel ('Just "nonPathRelated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [String])))
Show ConfigureOpts Source # 
Instance details

Defined in Stack.Types.ConfigureOpts

Methods

showsPrec :: Int -> ConfigureOpts -> ShowS

show :: ConfigureOpts -> String #

showList :: [ConfigureOpts] -> ShowS

Eq ConfigureOpts Source # 
Instance details

Defined in Stack.Types.ConfigureOpts

type Rep ConfigureOpts Source # 
Instance details

Defined in Stack.Types.ConfigureOpts

type Rep ConfigureOpts = D1 ('MetaData "ConfigureOpts" "Stack.Types.ConfigureOpts" "stack-3.9.1-B4Ctg8fkjlTKHjOvS8wzBh" 'False) (C1 ('MetaCons "ConfigureOpts" 'PrefixI 'True) (S1 ('MetaSel ('Just "pathRelated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [String]) :*: S1 ('MetaSel ('Just "nonPathRelated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [String])))

data BaseConfigOpts Source #

Basic information used to calculate what the configure options are

Instances

Instances details
Show BaseConfigOpts Source # 
Instance details

Defined in Stack.Types.ConfigureOpts

data PackageConfigureOpts Source #

All these fields come from the Package data type but bringing the whole Package is way too much, hence this datatype.

Instances

Instances details
Show PackageConfigureOpts Source # 
Instance details

Defined in Stack.Types.ConfigureOpts