stack-3.1.1: The Haskell Tool Stack
Safe HaskellNone
LanguageGHC2021

Stack.SetupCmd

Description

Types and functions related to Stack's setup command.

Synopsis

Documentation

data SetupCmdOpts Source #

Type representing command line options for the stack setup command.

setupCmd :: SetupCmdOpts -> RIO Runner () Source #

Function underlying the stack setup command.

setup Source #

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 ()