Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getCompilerVersion :: (MonadLogger m, MonadCatch m, MonadBaseControl IO m, MonadIO m) => EnvOverride -> WhichCompiler -> m CompilerVersion
- markInstalled :: (MonadIO m, MonadThrow m) => Path Abs Dir -> Tool -> m ()
- unmarkInstalled :: (MonadIO m, MonadCatch m) => Path Abs Dir -> Tool -> m ()
- listInstalled :: (MonadIO m, MonadThrow m) => Path Abs Dir -> m [Tool]
- data Tool
- toolString :: Tool -> String
- toolNameString :: Tool -> String
- parseToolText :: Text -> Maybe Tool
- data ExtraDirs = ExtraDirs {}
- extraDirs :: (StackM env m, HasConfig env) => Tool -> m ExtraDirs
- installDir :: (MonadReader env m, MonadThrow m) => Path Abs Dir -> Tool -> m (Path Abs Dir)
- tempInstallDir :: (MonadReader env m, MonadThrow m) => Path Abs Dir -> Tool -> m (Path Abs Dir)
Documentation
getCompilerVersion :: (MonadLogger m, MonadCatch m, MonadBaseControl IO m, MonadIO m) => EnvOverride -> WhichCompiler -> m CompilerVersion Source #
markInstalled :: (MonadIO m, MonadThrow m) => Path Abs Dir -> Tool -> m () Source #
unmarkInstalled :: (MonadIO m, MonadCatch m) => Path Abs Dir -> Tool -> m () Source #
listInstalled :: (MonadIO m, MonadThrow m) => Path Abs Dir -> m [Tool] Source #
Tool PackageIdentifier | e.g. ghc-7.8.4, msys2-20150512 |
ToolGhcjs CompilerVersion | e.g. ghcjs-0.1.0_ghc-7.10.2 |
toolString :: Tool -> String Source #
toolNameString :: Tool -> String Source #
extraDirs :: (StackM env m, HasConfig env) => Tool -> m ExtraDirs Source #
Binary directories for the given installed package
installDir :: (MonadReader env m, MonadThrow m) => Path Abs Dir -> Tool -> m (Path Abs Dir) Source #
tempInstallDir :: (MonadReader env m, MonadThrow m) => Path Abs Dir -> Tool -> m (Path Abs Dir) Source #