From fde08ad7d6ef582260ed0ba2dd90cb895e07b5c1 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Mon, 2 Oct 2023 10:48:42 -0400
Subject: [PATCH] and ghc 8.10.7

---
 .gitlab-ci.yml  | 5 +++++
 flake.nix       | 1 +
 tahoe-chk.cabal | 2 +-
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5ac789f..608bd8a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,6 +28,11 @@ hlint:
     - |
       nix run .#cabal-test-865
 
+"cabal-build-and-test-8.10.7":
+  script:
+    - |
+      nix run .#cabal-test-8107
+
 # Use nix to build the library and test suite and run the test suite.
 nix-build-and-test:
   script: >-
diff --git a/flake.nix b/flake.nix
index 68d3408..ad96b3c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -64,6 +64,7 @@
       # Using the working directory of `nix run`, do a build with cabal and
       # then run the test suite.
       apps.cabal-test-865 = mkCabalTest "ghc865Binary";
+      apps.cabal-test-8107 = mkCabalTest "ghc8107";
 
       apps.release = {
         type = "app";
diff --git a/tahoe-chk.cabal b/tahoe-chk.cabal
index 78ce5b2..9b27ed9 100644
--- a/tahoe-chk.cabal
+++ b/tahoe-chk.cabal
@@ -22,7 +22,7 @@ extra-source-files:
   ChangeLog.md
   README.md
 
-tested-with:        GHC ==8.6.5
+tested-with:        GHC ==8.6.5 || ==8.10.7
 
 source-repository head
   type:     git
-- 
GitLab