stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Types.CompilerPaths

Synopsis

Documentation

data CompilerPaths Source #

Paths on the filesystem for the compiler we're using

Constructors

CompilerPaths 

Fields

newtype GhcPkgExe Source #

Location of the ghc-pkg executable

Constructors

GhcPkgExe (Path Abs File) 

Instances

Instances details
Show GhcPkgExe Source # 
Instance details

Defined in Stack.Types.CompilerPaths

class HasCompiler env where Source #

An environment which ensures that the given compiler is available on the PATH

getCompilerPath :: HasCompiler env => RIO env (Path Abs File) Source #

Get the path for the given compiler ignoring any local binaries.

https://github.com/commercialhaskell/stack/issues/1052

getGhcPkgExe :: HasCompiler env => RIO env GhcPkgExe Source #

Get the GhcPkgExe from a HasCompiler environment