Skip to content

Commit f2a9f7d

Browse files
committed
Add docs on Hadrian and happy and alex
1 parent 3115f46 commit f2a9f7d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/topics/GHC_from_source.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,20 @@ The Hadrian build system has certain
8080
It requires certain versions of the `happy` and `alex` executables on the PATH.
8181
Stack will build and install `happy` and `alex`, if not already on the PATH.
8282

83+
!!! note
84+
85+
If `happy` and/or `alex` is already on the PATH, it may not be a version
86+
that Hadrian supports. In that case, you may wish to remove that version
87+
from the PATH and ensure that the package version specified by
88+
`hadrian/stack.yaml` or, if applicable, via the contents of the `STACK` environment variable is an appropriate one.
89+
90+
!!! note
91+
92+
`alex-3.5.0.0` removed `-v` as an alias for `--version` and added `-v` as an
93+
alias for `--verbose` (a flag that is not implemented as of `alex-3.5.4.0`).
94+
95+
Hadrian may expect `-v` to be an alias for `--version`.
96+
8397
=== "macOS"
8498

8599
Hadrian requires, or case use, certain tools or Python packages that do not

0 commit comments

Comments
 (0)