From af07bc92226f1b27fc3eac5df3d02855ad452c52 Mon Sep 17 00:00:00 2001 From: Mike Pilgrem Date: Fri, 10 Jan 2025 22:35:18 +0000 Subject: [PATCH] Re #6675 Clarify effect of --no-install-ghc re MSYS2 on Windows --- doc/configure/global_flags.md | 8 +++++--- doc/configure/yaml/non-project.md | 4 +++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/configure/global_flags.md b/doc/configure/global_flags.md index 4f012fb144..523a06ce22 100644 --- a/doc/configure/global_flags.md +++ b/doc/configure/global_flags.md @@ -144,9 +144,11 @@ version of its built-in Hpack library to the standard output stream (e.g. Default: Enabled -Enables/disables the download and instalation of GHC if necessary. For further -information, see the documentation for the corresponding non-project specific -configuration [option](yaml/non-project.md#install-ghc). +Enables/disables the download and installation of GHC when necessary. On +Windows, `--no-install-ghc` also disables the download and installation of the +Stack-supplied MSYS2 when necessary. For further information, see the +documentation for the corresponding non-project specific configuration +[option](yaml/non-project.md#install-ghc). ## `--jobs` or `-j` option diff --git a/doc/configure/yaml/non-project.md b/doc/configure/yaml/non-project.md index 286398f647..51ad15f308 100644 --- a/doc/configure/yaml/non-project.md +++ b/doc/configure/yaml/non-project.md @@ -874,7 +874,9 @@ Default: `true` Command line equivalent (takes precedence): `--[no-]install-ghc` flag -Whether or not to automatically install GHC when necessary. +Whether or not to download and install GHC when necessary. On Windows, +`install-ghc: false` also disables the download and installation of the +Stack-supplied MSYS2 when necessary. ## jobs