Skip to content

Commit c047a76

Browse files
committed
Re #6156 Warn about Windows installer and long PATH
1 parent 6335a90 commit c047a76

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

doc/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,13 @@ Windows.
131131
use GHCup) is to download and install the
132132
[Windows installer](https://get.haskellstack.org/stable/windows-x86_64-installer.exe).
133133

134+
!!! warning
135+
136+
The Windows installer for Stack 2.9.1, 2.9.3 and 2.11.1 (current) (only)
137+
will replace the user `PATH` environment variable (rather than append to
138+
it) if a 1024 character limit is exceeded. If the content of your
139+
existing user `PATH` is long, preserve it before running the installer.
140+
134141
!!! note
135142

136143
Systems with antivirus software may need to add Stack to the list of

doc/install_and_upgrade.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,13 @@ GitHub repository.
431431
use GHCup) is to download and use the
432432
[Windows installer](https://get.haskellstack.org/stable/windows-x86_64-installer.exe).
433433

434+
!!! warning "Long user PATH environment variable"
435+
436+
The Windows installer for Stack 2.9.1, 2.9.3 and 2.11.1 (current) (only)
437+
will replace the user `PATH` environment variable (rather than append to
438+
it) if a 1024 character limit is exceeded. If the content of your
439+
existing user `PATH` is long, preserve it before running the installer.
440+
434441
!!! note "Anti-virus software"
435442

436443
Systems with antivirus software may need to add Stack to the list of

0 commit comments

Comments
 (0)