Represents a program which has been configured and is thus ready to be run.
These are usually made by configuring a Program, but if you have to construct one directly then start with simpleConfiguredProgram and override any extra fields.
Constructors
ConfiguredProgramprogramId :: StringJust the name again
programVersion :: Maybe VersionThe version of this program, if it is known.
programDefaultArgs :: [String]Default command-line args for this program. These flags will appear first on the command line, so they can be overridden by subsequent flags.
programOverrideArgs :: [String]Override command-line args for this program. These flags will appear last on the command line, so they override all earlier flags.
programOverrideEnv :: [(String, Maybe String)]Override environment variables for this program. These env vars will extend/override the prevailing environment of the current to form the environment for the new process.
programProperties :: Map String StringA key-value map listing various properties of the program, useful for feature detection. Populated during the configuration step, key names depend on the specific program.
programLocation :: ProgramLocationLocation of the program. eg.
/usr/bin/ghc-6.4programMonitorFiles :: [FilePath]In addition to the programLocation where the program was found, these are additional locations that were looked at. The combination of this found location and these not-found locations can be used to monitor to detect when the re-configuring the program might give a different result (e.g. found in a different location).
Instances7Eq, Read, Show, Generic, Binary, Structured, …
Eq ConfiguredProgramDefined in Cabal-3.18.1.0 · Distribution.Simple.Program.TypesRead ConfiguredProgramDefined in Cabal-3.18.1.0 · Distribution.Simple.Program.TypesShow ConfiguredProgramDefined in Cabal-3.18.1.0 · Distribution.Simple.Program.TypesGeneric ConfiguredProgramDefined in Cabal-3.18.1.0 · Distribution.Simple.Program.TypesBinary ConfiguredProgramDefined in Cabal-3.18.1.0 · Distribution.Simple.Program.TypesStructured ConfiguredProgramDefined in Cabal-3.18.1.0 · Distribution.Simple.Program.Typestype Rep ConfiguredProgram = D1 ('MetaDataDefined in Cabal-3.18.1.0 · Distribution.Simple.Program.Types"ConfiguredProgram"
"Distribution.Simple.Program.Types"
"Cabal-3.18.1.0-cd98"
'False) (C1 ('MetaCons"ConfiguredProgram"
'PrefixI 'True) (((S1 ('MetaSel ('Just"programId"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just"programVersion"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Version))) :*: (S1 ('MetaSel ('Just"programDefaultArgs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: S1 ('MetaSel ('Just"programOverrideArgs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]))) :*: ((S1 ('MetaSel ('Just"programOverrideEnv"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(String, Maybe String)]) :*: S1 ('MetaSel ('Just"programProperties"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map String String))) :*: (S1 ('MetaSel ('Just"programLocation"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProgramLocation) :*: S1 ('MetaSel ('Just"programMonitorFiles"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath])))))