From 37d3c851cfa53e7be4bc39be821cda65e000b269 Mon Sep 17 00:00:00 2001 From: J Phani Mahesh Date: Wed, 26 Oct 2016 15:49:53 +0530 Subject: [PATCH] add nix.packages to stack.yaml postgrest depends on postgres and zlib. When using stack's nix integration, these dependencies must be specified explicitly. Note that `--nix` must be passed to stack, or `nix.enable:true` must be set in `stack.yaml` to enable using nix while building. --- stack.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stack.yaml b/stack.yaml index f8bcfb9d0..ef12341ec 100644 --- a/stack.yaml +++ b/stack.yaml @@ -5,3 +5,5 @@ extra-deps: - hasql-transaction-0.4.5.1 ghc-options: postgrest: -O2 -Werror -Wall -fwarn-identities +nix: + packages: [postgresql, zlib]