Skip to content

Commit

Permalink
Re #6652 Add FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Oct 9, 2024
1 parent 2b3d21b commit dfb24a3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,17 @@

## `stack build`-related

??? question "Why does `stack build` fail with GHC 9.8.1 and 9.8.2 only?"

If the Cabal file of the relevant package makes use of a `c-sources` field,
the failure may be due to `Cabal-3.10.2.0` enforcing that the field can
specify only `*.c` files. Earlier and later versions of Cabal (the library)
tolerate other files.

When the Cabal build type is not `Custom`, Stack builds with the `Cabal`
boot package of the specified version of GHC. The boot package of GHC 9.8.1
and 9.8.2 is `Cabal-3.10.2.0`.

??? question "Why does `stack test` trigger a rebuild of other components?"

If the set of dependencies of a project package to be built are not a
Expand Down

0 comments on commit dfb24a3

Please sign in to comment.