stack.yaml: Document use of obscure ghc options.
This commit is contained in:
committed by
Steve Chávez
parent
2183a2a1ae
commit
0846d4d7b2
+8
-1
@@ -1,5 +1,12 @@
|
|||||||
|
# stack is used for circleci and appveyor CI builds
|
||||||
resolver: lts-14.3
|
resolver: lts-14.3
|
||||||
ghc-options:
|
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:
|
nix:
|
||||||
packages: [pcre, pkgconfig, postgresql, zlib]
|
packages: [pcre, pkgconfig, postgresql, zlib]
|
||||||
|
|||||||
Reference in New Issue
Block a user