The good part is that protolude 0.3.0 builds with GHC 8.10. The bad part is that this change is a bit painful: - the default `toS` has changed to no longer convert to and from ByteString - similarly, `show` no longer outputs ByteString The changes here are pretty much minimal to keep things compiling; I didn't see a nice way to work with the new ConvertText class, even though `toUtf8` seems like it might help if used besides `toS` at just the right spots.
20 lines
1.0 KiB
YAML
20 lines
1.0 KiB
YAML
# stack is used for circleci and appveyor CI builds
|
|
resolver: lts-15.8
|
|
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]
|
|
# disable pure by default so that the test enviroment can be passed
|
|
pure: false
|
|
extra-deps:
|
|
- configurator-pg-0.2.2@sha256:8f3f7c66dd4a53852283c70806ebc101a7219f8b01c3e80c5130e9749c998dc8,2987
|
|
- hspec-wai-json-0.10.1@sha256:67b405c38f0a9e2771480c8d3ecd8aeb8d8776a35d3b2906cb1b76c9538617e4,1629
|
|
- interpolatedstring-perl6-1.0.2@sha256:7ce49c8a69a2a1b89c001ed79db2aab656ffd0faf2a7a701a553b6deb5c8ba7f,1073
|
|
- protolude-0.3.0@sha256:8361b811b420585b122a7ba715aa5923834db6e8c36309bf267df2dbf66b95ef,2693
|