ghcup-0.1.14.2: ghc toolchain installer
Copyright(c) Julian Ospald 2020
LicenseLGPL-3.0
Maintainerhasufell@hasufell.de
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

GHCup.Utils.Dirs

Description

 
Synopsis

Documentation

ghcupGHCBaseDir :: MonadReader AppState m => m (Path Abs) Source #

~.ghcupghc by default.

ghcupGHCDir :: (MonadReader AppState m, MonadThrow m) => GHCTargetVersion -> m (Path Abs) Source #

Gets '~.ghcupghc/ghcupGHCDir'. The dir may be of the form * armv7-unknown-linux-gnueabihf-8.8.3 * 8.8.4

parseGHCupGHCDir :: MonadThrow m => Path Rel -> m GHCTargetVersion Source #

See ghcupToolParser.

relativeSymlink Source #

Arguments

:: Path Abs

the path in which to create the symlink

-> Path Abs

the symlink destination

-> ByteString