diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5ac789faccae19f98ba59dd94f7806b665358aa3..608bd8aad4c1b8133324afeb831b406264a84ba8 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 68d34083243f121e673b25b1239951a6487ae8ee..ad96b3caad39993570f67ede367cd5b20bf1761e 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 78ce5b2c9fe3975d71865b7e6a8b92760a7868d4..9b27ed9df07ce97ad07fa773b6020c24d4527398 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