| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Stack.Types.ConfigureOpts
Synopsis
- data ConfigureOpts = ConfigureOpts {
- pathRelated :: ![String]
- nonPathRelated :: ![String]
- data BaseConfigOpts = BaseConfigOpts {}
- configureOpts :: EnvConfig -> BaseConfigOpts -> Map PackageIdentifier GhcPkgId -> Bool -> IsMutable -> Package -> ConfigureOpts
- configureOptsPathRelated :: BaseConfigOpts -> IsMutable -> Package -> [String]
- configureOptsNonPathRelated :: EnvConfig -> BaseConfigOpts -> Map PackageIdentifier GhcPkgId -> Bool -> Package -> [String]
Documentation
data ConfigureOpts Source #
Configure options to be sent to Setup.hs configure.
Constructors
| ConfigureOpts | |
Fields
| |
Instances
data BaseConfigOpts Source #
Basic information used to calculate what the configure options are
Constructors
| BaseConfigOpts | |
Instances
| Show BaseConfigOpts Source # | |
Defined in Stack.Types.ConfigureOpts Methods showsPrec :: Int -> BaseConfigOpts -> ShowS # show :: BaseConfigOpts -> String # showList :: [BaseConfigOpts] -> ShowS # | |
Arguments
| :: EnvConfig | |
| -> BaseConfigOpts | |
| -> Map PackageIdentifier GhcPkgId | dependencies |
| -> Bool | local non-extra-dep? |
| -> IsMutable | |
| -> Package | |
| -> ConfigureOpts |
Render a BaseConfigOpts to an actual list of options
configureOptsPathRelated :: BaseConfigOpts -> IsMutable -> Package -> [String] Source #
configureOptsNonPathRelated Source #
Arguments
| :: EnvConfig | |
| -> BaseConfigOpts | |
| -> Map PackageIdentifier GhcPkgId | Dependencies. |
| -> Bool | Is this a local, non-extra-dep? |
| -> Package | |
| -> [String] |
Same as configureOpts, but does not include directory path options