stack-0.1.6.0: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Setup

Synopsis

Documentation

setupEnv Source

Arguments

:: (MonadIO m, MonadMask m, MonadLogger m, MonadReader env m, HasBuildConfig env, HasHttpManager env, HasGHCVariant env, MonadBaseControl IO m) 
=> Maybe Text

Message to give user when necessary GHC is not available

-> m EnvConfig 

Modify the environment variables (like PATH) appropriately, possibly doing installation too

ensureCompiler :: (MonadIO m, MonadMask m, MonadLogger m, MonadReader env m, HasConfig env, HasHttpManager env, HasGHCVariant env, MonadBaseControl IO m) => SetupOpts -> m (Maybe ExtraDirs) Source

Ensure compiler (ghc or ghcjs) is installed and provide the PATHs to add if necessary

data SetupOpts Source

Constructors

SetupOpts 

Fields

defaultStackSetupYaml :: String Source

Default location of the stack-setup.yaml file