Update stackage GHC to 8.4.4 (#1322)

* Update stack.yaml to lts-12.26 (GHC 8.4.4) with simplified nix config

(On GHC 8.6.5, profiled build was exiting with:

--  While building package postgrest-5.2.0 using:
      /home/circleci/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux/Cabal-2.4.0.1 build lib:postgrest exe:postgrest --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
    Process exited with code: ExitFailure (-9) (THIS MAY INDICATE OUT OF MEMORY)
Exited with code 1)

* stack.yaml: Add postgresql to nix packages
This commit is contained in:
Robert
2019-06-11 13:20:04 -05:00
committed by Steve Chávez
parent 1df749a7a8
commit 23ca27d27e
2 changed files with 8 additions and 32 deletions
+8 -13
View File
@@ -1,17 +1,12 @@
resolver: lts-9.6
# stack.yaml is used for circle-ci tests. Profiling build fails on circleci
# with GHC 8.6, so we build with 8.4 for now.
resolver: lts-12.26
extra-deps:
- Ranged-sets-0.3.0
- protolude-0.2.2
- hasql-1.3
- hasql-pool-0.5
- hasql-transaction-0.7
- text-builder-0.5.1.1
- jose-0.7.0.0
- postgresql-libpq-0.9.4.1
- http-types-0.12.3
- wai-middleware-static-0.8.2
- configurator-pg-0.1.0.1
- Ranged-sets-0.4.0
- configurator-pg-0.1.0.3
- http-types-0.12.3
ghc-options:
postgrest: -O2 -Werror -Wall -fwarn-identities -fno-warn-redundant-constraints
nix:
shell-file: shell.nix
packages: [pcre, pkgconfig, postgresql, zlib]