File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,13 @@ Windows.
131
131
use GHCup) is to download and install the
132
132
[Windows installer](https://get.haskellstack.org/stable/windows-x86_64-installer.exe).
133
133
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
+
134
141
!!! note
135
142
136
143
Systems with antivirus software may need to add Stack to the list of
Original file line number Diff line number Diff line change @@ -431,6 +431,13 @@ GitHub repository.
431
431
use GHCup) is to download and use the
432
432
[Windows installer](https://get.haskellstack.org/stable/windows-x86_64-installer.exe).
433
433
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
+
434
441
!!! note "Anti-virus software"
435
442
436
443
Systems with antivirus software may need to add Stack to the list of
Original file line number Diff line number Diff line change @@ -78,9 +78,14 @@ Examples:
78
78
stack build --stack-yaml=… --haddock --test --bench --no-run-benchmarks
79
79
~~~
80
80
81
- 7. Ensure the integration tests pass on Linux, macOS and Windows.
81
+ 7. The Windows installer is built using an
82
+ [NSIS compiler](https://nsis.sourceforge.io/Main_Page). Check that the NSIS
83
+ compiler that will be used is capable of handling
84
+ [large strings](https://nsis.sourceforge.io/Special_Builds).
82
85
83
- 8. Some people prefer, or need, to build Stack with Cabal (the tool). Check
86
+ 8. Ensure the integration tests pass on Linux, macOS and Windows.
87
+
88
+ 9. Some people prefer, or need, to build Stack with Cabal (the tool). Check
84
89
that `cabal.project` is up to date (the specified `with-compiler:`). Check
85
90
that `cabal.config` is up to date and is not missing dependencies relevant
86
91
on Windows and non-Windows operating systems, following the instructions in
You can’t perform that action at this time.
0 commit comments