From 7ca9c193ead61755919cb289ce41b56b996c0bd7 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Wed, 21 Aug 2019 13:20:05 -0400 Subject: [PATCH] Tell Stack to use Nix to get the native zlib library I dunno if this is a good idea or not but it helps the build succeed on my system. --- stack.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stack.yaml b/stack.yaml index 483c78e..9879a51 100644 --- a/stack.yaml +++ b/stack.yaml @@ -62,3 +62,10 @@ packages: # # Allow a newer minor version of GHC than the snapshot specifies # compiler-check: newer-minor + + +# https://docs.haskellstack.org/en/stable/nix_integration/#additions-to-your-stackyaml +nix: + enable: true + packages: + - "zlib" -- GitLab