diff --git a/flake.nix b/flake.nix
index 91b59eabf20ac43c5f0ba1a132e77a1169939215..e8abed6220379b94b6c70c8153f56d12ad3baaeb 100644
--- a/flake.nix
+++ b/flake.nix
@@ -49,7 +49,7 @@
         program = "${
           pkgs.writeShellApplication {
             name = "cabal-build-and-test";
-            runtimeInputs = with pkgs; [pkg-config haskell.compiler.${ghcVersion} cabal-install];
+            runtimeInputs = with pkgs; [pkg-config haskell.compiler.${ghcVersion} cabal-install zlib];
 
             text = ''
               cabal update hackage.haskell.org