From 8cf68c63d97ad2b2996cd96b976a2a92ad7fd050 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Sat, 18 Aug 2018 10:17:33 -0500 Subject: [PATCH] Fix segmentation fault/access violation on windows 10 This was reported in https://gitter.im/begriffs/postgrest?at=5b7431eb5b07ae730ac083af and according to https://ghc.haskell.org/trac/ghc/ticket/13112#comment:25 this is an issue with linking in postgresql-libpq. The 0.9.4.1 version contains a patch(https://github.com/lpsmith/postgresql-libpq/pull/45) that fixes the issue. --- stack.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/stack.yaml b/stack.yaml index 9a2c218d8..d1fea6045 100644 --- a/stack.yaml +++ b/stack.yaml @@ -10,6 +10,7 @@ extra-deps: - hasql-pool-0.4.3 - hasql-transaction-0.5.2 - jose-0.7.0.0 + - postgresql-libpq-0.9.4.1 ghc-options: postgrest: -O2 -Werror -Wall -fwarn-identities -fno-warn-redundant-constraints nix: