stack-3.1.1: The Haskell Tool Stack
Safe HaskellNone
LanguageGHC2021

Stack.Types.MsysEnvironment

Description

Type representing MSYS2 environments and related functions.

Synopsis

Documentation

data MsysEnvironment Source #

Type representing MSYS2 environments.

Constructors

CLANG32 
CLANG64 
CLANGARM64 
MINGW32

Stack's default on architecture i386, and applied if GHC version is earlier than GHC 9.6.

MINGW64

Stack's default on architecture x86_64, and applied if GHC version is earlier than GHC 9.6.

UCRT64 

msysEnvArch :: MsysEnvironment -> Arch Source #

Function that yields the architecture relevant to an MSYS2 environment, based on https://www.msys2.org/docs/environments/.

relDirMsysEnv :: MsysEnvironment -> Path Rel Dir Source #

Function that yields the prefix relevant to an MSYS2 environment, based on https://www.msys2.org/docs/environments/.