From b171afa09dc51959943c356e9952422eae9dea69 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 19 Dec 2022 00:52:11 +0800 Subject: [PATCH] Document GHCUP_MSYS2, fixes #427 --- docs/guide.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/guide.md b/docs/guide.md index 2cce921..789d904 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -97,6 +97,10 @@ This is the complete list of env variables that change GHCup behavior: * `GHCUP_SKIP_UPDATE_CHECK`: Skip the (possibly annoying) update check when you run a command * `CC`/`LD` etc.: full environment is passed to the build system when compiling GHC via GHCup +On windows, there's additionally: + +* `GHCUP_MSYS2`: Has to point to the root of an existing MSYS2 installation (when installed by GHCup, that's e.g. `C:\ghcup\msys64`). GHCup bootstrap takes care of this usually. + ### XDG support To enable XDG style directories, set the environment variable `GHCUP_USE_XDG_DIRS` to anything.