diff --git a/stack.yaml b/stack.yaml
index 483c78edd90e19bba6bf3555321e2ad10c74a6cd..9879a51389f8ae856386953ccd3db2a4ea146b24 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"