Safe Haskell | None |
---|---|
Language | GHC2021 |
Stack.SetupCmd
Description
Types and functions related to Stack's setup
command.
Synopsis
- data SetupCmdOpts = SetupCmdOpts {
- compilerVersion :: !(Maybe WantedCompiler)
- forceReinstall :: !Bool
- ghcBindistUrl :: !(Maybe String)
- ghcjsBootOpts :: ![String]
- ghcjsBootClean :: !Bool
- setupCmd :: SetupCmdOpts -> RIO Runner ()
- setup :: (HasBuildConfig env, HasGHCVariant env) => SetupCmdOpts -> WantedCompiler -> VersionCheck -> Maybe (Path Abs File) -> RIO env ()
Documentation
data SetupCmdOpts Source #
Type representing command line options for the stack setup
command.
Constructors
SetupCmdOpts | |
Fields
|
Arguments
:: (HasBuildConfig env, HasGHCVariant env) | |
=> SetupCmdOpts | |
-> WantedCompiler | |
-> VersionCheck | |
-> Maybe (Path Abs File) | If we got the desired GHC version from that configuration file, which may be either a user-specific global or a project-level one. |
-> RIO env () |