Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Cabal Distribution.Simple.Program No documentation available.
-
Cabal Distribution.Simple.Program Represents a program which can be configured. Note: rather than constructing this directly, start with simpleProgram and override any extra fields.
-
Cabal Distribution.Simple.Program No documentation available.
-
Cabal Distribution.Simple.Program The configuration is a collection of information about programs. It contains information both about configured programs and also about programs that we are yet to configure. The idea is that we start from a collection of unconfigured programs and one by one we try to configure them at which point we move them into the configured collection. For unconfigured programs we record not just the Program but also any user-provided arguments and location for the program.
-
Cabal Distribution.Simple.Program Represents a specific invocation of a specific program. This is used as an intermediate type between deciding how to call a program and actually doing it. This provides the opportunity to the caller to adjust how the program will be called. These invocations can either be run directly or turned into shell or batch scripts.
-
Cabal Distribution.Simple.Program No documentation available.
-
Cabal Distribution.Simple.Program Where a program was found. Also tells us whether it's specified by user or not. This includes not just the path, but the program as well.
type
ProgramSearchPath = [ProgramSearchPathEntry]Cabal Distribution.Simple.Program A search path to use when locating executables. This is analogous to the unix $PATH or win32 %PATH% but with the ability to use the system default method for finding executables (findExecutable which on unix is simply looking on the $PATH but on win32 is a bit more complicated). The default to use is [ProgSearchPathDefault] but you can add extra dirs either before, after or instead of the default, e.g. here we add an extra dir to search after the usual ones.
['ProgramSearchPathDefault', 'ProgramSearchPathDir' dir]
We also use this path to set the environment when running child processes. The ProgramDb is created with a ProgramSearchPath to which we prependProgramSearchPath to add the ones that come from cli flags and from configurations. Then each of the programs that are configured in the db inherits the same path as part of configureProgram.ProgramSearchPathDefault :: ProgramSearchPathEntryCabal Distribution.Simple.Program The system default
ProgramSearchPathDir :: FilePath -> ProgramSearchPathEntryCabal Distribution.Simple.Program A specific dir