stack.yaml: Document use of obscure ghc options.

This commit is contained in:
Robert Vollmert
2019-08-27 14:49:07 -05:00
committed by Steve Chávez
parent 2183a2a1ae
commit 0846d4d7b2
+8 -1
View File
@@ -1,5 +1,12 @@
# stack is used for circleci and appveyor CI builds
resolver: lts-14.3
ghc-options:
postgrest: -O2 -Werror -Wall -fwarn-identities -fno-spec-constr -optP-Wno-nonportable-include-path
# -fno-spec-constr may help keep compile time memory use in check,
# see https://gitlab.haskell.org/ghc/ghc/issues/16017#note_219304
# -optP-Wno-nonportable-include-path
# prevents build failures on case-insensitive filesystems (macos),
# see https://github.com/commercialhaskell/stack/issues/3918
postgrest: -O2 -Werror -Wall -fwarn-identities
-fno-spec-constr -optP-Wno-nonportable-include-path
nix:
packages: [pcre, pkgconfig, postgresql, zlib]