From 0b031766b8e63973ef078e78d4fe855ca4c273ea Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Tue, 25 Apr 2023 16:39:27 -0400
Subject: [PATCH] Get `cabal ..` builds in the dev shell working again

---
 flake.nix | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/flake.nix b/flake.nix
index fd06ef7..ed63c1f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -36,6 +36,12 @@
       devShells = hslib.devShells {
         extraBuildInputs = pkgs:
           with pkgs; [
+            # We configure cabal to use zlib:pkg-config so we better supply
+            # pkg-config in the dev shell or `cabal ...` builds will surely
+            # fail.
+            pkg-config
+
+            # And also that pesky zlib dependency.
             zlib
           ];
       };
-- 
GitLab