The changes here are from fixing stack build with LTS 15.8 (GHC 8.8.3) to be warning-free. Most if not all come from the newer protolude version, which adds some things like `unwords`. So to make sure that we don't get unused import warnings with newer stackage, this both raises the protolude lower bound and removes these imports.
22 lines
1.2 KiB
YAML
22 lines
1.2 KiB
YAML
# stack is used for circleci and appveyor CI builds
|
|
resolver: lts-14.3
|
|
ghc-options:
|
|
# -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]
|
|
|
|
# needed by stylish haskell, this only runs on ci
|
|
extra-deps:
|
|
- HsYAML-0.2.1.0@sha256:e4677daeba57f7a1e9a709a1f3022fe937336c91513e893166bd1f023f530d68,5311
|
|
- HsYAML-aeson-0.2.0.0@sha256:04796abfc01cffded83f37a10e6edba4f0c0a15d45bef44fc5bb4313d9c87757,1791
|
|
- configurator-pg-0.2.0@sha256:08dcfadbe31e9e505d0bed1ab034105e1735141499734ad52d1c5ac980cde4a6,2939
|
|
- hspec-wai-0.10.1@sha256:56dd9ec1d56f47ef1946f71f7cbf070e4c285f718cac1b158400ae5e7172ef47,2290
|
|
- hspec-wai-json-0.10.1@sha256:67b405c38f0a9e2771480c8d3ecd8aeb8d8776a35d3b2906cb1b76c9538617e4,1629
|
|
- protolude-0.2.4@sha256:8bcf18da79be0832fccdd4cd5770e20baa4caec61c141d7119632a830b4096a9,2191
|