| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Stack.Types.MsysEnvironment
Description
Type representing MSYS2 environments and related functions.
Synopsis
- data MsysEnvironment
- msysEnvArch :: MsysEnvironment -> Arch
- relDirMsysEnv :: MsysEnvironment -> Path Rel Dir
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 |
Instances
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/.