Safe Haskell | None |
---|
CabalCargs.CondVars
Documentation
The conditional variables that are used to resolve the conditionals inside of the cabal file. Holds the enable state of the cabal flags and the used OS and ARCH.
Constructors
CondVars | |
Fields
|
fromDefaults :: GenericPackageDescription -> CondVarsSource
enableFlag :: FlagName -> CondVars -> CondVarsSource
Enable the given flag in CondVars
.
disableFlag :: FlagName -> CondVars -> CondVarsSource
Disable the given flag in CondVars
.