Skip to content

Commit

Permalink
[#211] Avoid warning on case-insensitive systems
Browse files Browse the repository at this point in the history
Problem: There is currently some problem in stack or cabal
that produces a warning when building this project on
case-insensitive systems.

Solution: The current workaroud for it is to add the GHC
option '-optP-Wno-nonportable-include-path'.
  • Loading branch information
aeqz committed Dec 13, 2022
1 parent 7457a6b commit dd52970
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ ghc-options:
- -Wno-prepositive-qualified-module
- -Wno-monomorphism-restriction

# This option avoids a warning on case-insensitive systems:
# https://github.com/haskell/cabal/issues/4739
# https://github.com/commercialhaskell/stack/issues/3918
- -optP-Wno-nonportable-include-path

dependencies:
- base >=4.14.3.0 && <5

Expand Down

0 comments on commit dd52970

Please sign in to comment.