@@ -19,27 +19,30 @@ commands](https://github.com/msys2/msys2/wiki/Using-packages) that work with
19
19
tools &mdash ; should be started with ` stack exec -- pacman ` .
20
20
21
21
The Stack-supplied MSYS2 can itself be updated with the Stack-supplied ` pacman ` .
22
- See the MSYS2 guide [ 'III. Updating packages'] ( https://www.msys2.org/wiki/MSYS2-installation/ ) . If the Stack-supplied ` pacman ` has a version that is
23
- 5.0.1.6403 or greater (see ` stack exec -- pacman --version ` ) then the command to
24
- update is simply:
22
+ See the MSYS2 guide
23
+ [ 'III. Updating packages'] ( https://www.msys2.org/wiki/MSYS2-installation/ ) . If
24
+ the Stack-supplied ` pacman ` has a version that is 5.0.1.6403 or greater (see
25
+ ` stack exec -- pacman --version ` ) then the command to update is simply:
25
26
26
27
stack exec -- pacman -Syuu
27
28
28
- This command may need to be run more than once, until everything is reported by ` pacman ` as 'up to date' and 'nothing to do'.
29
+ This command may need to be run more than once, until everything is reported by
30
+ ` pacman ` as 'up to date' and 'nothing to do'.
29
31
30
32
## Setup.hs ##
31
33
32
- ` Setup.hs ` is automatically run inside the stack environment. So when
33
- you need to launch another tool you don't need to prefix the command
34
- with ` stack exec -- ` within the custom ` Setup.hs ` file.
34
+ ` Setup.hs ` is automatically run inside the Stack environment. So when you need
35
+ to launch another tool you don't need to prefix the command with ` stack exec -- `
36
+ within the custom ` Setup.hs ` file.
35
37
36
38
## Pacman packages to install for common Haskell packages ##
37
39
38
- The following lists MSYS2 packages known to allow the installation of
39
- some common Haskell packages on Windows. Feel free to submit
40
- additional entries via a pull request.
40
+ The following lists MSYS2 packages known to allow the installation of some
41
+ common Haskell packages on Windows. Feel free to submit additional entries via a
42
+ pull request.
41
43
42
- * For [ text-icu] ( https://github.com/bos/text-icu ) install ` mingw64/mingw-w64-x86_64-icu `
44
+ * For [ text-icu] ( https://github.com/bos/text-icu ) install
45
+ ` mingw64/mingw-w64-x86_64-icu `
43
46
44
47
## CMake ##
45
48
@@ -58,9 +61,9 @@ commands:
58
61
stack exec -- pacman -S mingw-w64-x86_64-make
59
62
stack exec -- pacman -S mingw-w64-x86_64-cmake
60
63
61
- Even though Make and CMake are then both installed into the same
62
- environment, CMake still seems to have trouble to find Make. To help CMake
63
- find GCC and Make supply the following flags:
64
+ Even though Make and CMake are then both installed into the same environment,
65
+ CMake still seems to have trouble to find Make. To help CMake find GCC and Make
66
+ supply the following flags:
64
67
65
68
-DCMAKE_C_COMPILER=path
66
69
-DCMAKE_MAKE_PROGRAM=path
0 commit comments