From b4d5cd3eab5a1e23fa8327eeb1c081015e9129c7 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Mon, 1 May 2023 15:10:13 -0400
Subject: [PATCH] debug corrupt package cache?

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

diff --git a/flake.nix b/flake.nix
index 8c70ef1..0492040 100644
--- a/flake.nix
+++ b/flake.nix
@@ -83,6 +83,7 @@
               # headers and stuff.
               export PKG_CONFIG_PATH=${pkgs.lib.makeSearchPath "lib/pkgconfig" [pkgs.zlib.dev]}
 
+              ghc-pkg check -v -v
               cabal update hackage.haskell.org
               cabal run tests
             '';
-- 
GitLab