Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ConfigMonoid = ConfigMonoid {
- configMonoidStackRoot :: !(First (Path Abs Dir))
- configMonoidWorkDir :: !(First (Path Rel Dir))
- configMonoidBuildOpts :: !BuildOptsMonoid
- configMonoidDockerOpts :: !DockerOptsMonoid
- configMonoidNixOpts :: !NixOptsMonoid
- configMonoidConnectionCount :: !(First Int)
- configMonoidHideTHLoading :: !FirstTrue
- configMonoidPrefixTimestamps :: !(First Bool)
- configMonoidLatestSnapshot :: !(First Text)
- configMonoidPackageIndex :: !(First PackageIndexConfig)
- configMonoidPackageIndices :: !(First [PackageIndexConfig])
- configMonoidSystemGHC :: !(First Bool)
- configMonoidInstallGHC :: !FirstTrue
- configMonoidSkipGHCCheck :: !FirstFalse
- configMonoidSkipMsys :: !FirstFalse
- configMonoidCompilerCheck :: !(First VersionCheck)
- configMonoidCompilerRepository :: !(First CompilerRepository)
- configMonoidRequireStackVersion :: !IntersectingVersionRange
- configMonoidArch :: !(First String)
- configMonoidGHCVariant :: !(First GHCVariant)
- configMonoidGHCBuild :: !(First CompilerBuild)
- configMonoidJobs :: !(First Int)
- configMonoidExtraIncludeDirs :: ![FilePath]
- configMonoidExtraLibDirs :: ![FilePath]
- configMonoidCustomPreprocessorExts :: ![Text]
- configMonoidOverrideGccPath :: !(First (Path Abs File))
- configMonoidOverrideHpack :: !(First FilePath)
- configMonoidConcurrentTests :: !(First Bool)
- configMonoidLocalBinPath :: !(First FilePath)
- configMonoidTemplateParameters :: !(Map Text Text)
- configMonoidScmInit :: !(First SCM)
- configMonoidGhcOptionsByName :: !(MonoidMap PackageName (Dual [Text]))
- configMonoidGhcOptionsByCat :: !(MonoidMap ApplyGhcOptions (Dual [Text]))
- configMonoidCabalConfigOpts :: !(MonoidMap CabalConfigKey (Dual [Text]))
- configMonoidExtraPath :: ![Path Abs Dir]
- configMonoidSetupInfoLocations :: ![String]
- configMonoidSetupInfoInline :: !SetupInfo
- configMonoidLocalProgramsBase :: !(First (Path Abs Dir))
- configMonoidPvpBounds :: !(First PvpBounds)
- configMonoidModifyCodePage :: !FirstTrue
- configMonoidRebuildGhcOptions :: !FirstFalse
- configMonoidApplyGhcOptions :: !(First ApplyGhcOptions)
- configMonoidApplyProgOptions :: !(First ApplyProgOptions)
- configMonoidAllowNewer :: !(First Bool)
- configMonoidAllowNewerDeps :: !(Maybe AllowNewerDeps)
- configMonoidDefaultTemplate :: !(First TemplateName)
- configMonoidAllowDifferentUser :: !(First Bool)
- configMonoidDumpLogs :: !(First DumpLogs)
- configMonoidSaveHackageCreds :: !(First Bool)
- configMonoidHackageBaseUrl :: !(First Text)
- configMonoidColorWhen :: !(First ColorWhen)
- configMonoidStyles :: !StylesUpdate
- configMonoidHideSourcePaths :: !FirstTrue
- configMonoidRecommendUpgrade :: !FirstTrue
- configMonoidNotifyIfNixOnPath :: !FirstTrue
- configMonoidCasaOpts :: !CasaOptsMonoid
- configMonoidCasaRepoPrefix :: !(First CasaRepoPrefix)
- configMonoidSnapshotLocation :: !(First Text)
- configMonoidNoRunCompile :: !FirstFalse
- configMonoidStackDeveloperMode :: !(First Bool)
- parseConfigMonoid :: Path Abs Dir -> Value -> Parser (WithJSONWarnings ConfigMonoid)
- parseConfigMonoidObject :: Path Abs Dir -> Object -> WarningParser ConfigMonoid
- configMonoidAllowDifferentUserName :: Text
- configMonoidGHCVariantName :: Text
- configMonoidInstallGHCName :: Text
- configMonoidSystemGHCName :: Text
Documentation
data ConfigMonoid Source #
An uninterpreted representation of configuration options. Configurations may be "cascaded" using mappend (left-biased).
ConfigMonoid | |
|
Instances
parseConfigMonoid :: Path Abs Dir -> Value -> Parser (WithJSONWarnings ConfigMonoid) Source #
parseConfigMonoidObject :: Path Abs Dir -> Object -> WarningParser ConfigMonoid Source #
Parse a partial configuration. Used both to parse both a standalone config file and a project file, so that a sub-parser is not required, which would interfere with warnings for missing fields.