From 10bba685be836cd0043e936e43d3fd968602ce46 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Mon, 2 Oct 2023 10:50:55 -0400
Subject: [PATCH] and ghc 9.0.2

---
 .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 608bd8a..4e55a6d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,6 +33,11 @@ hlint:
     - |
       nix run .#cabal-test-8107
 
+"cabal-build-and-test-9.0.2":
+  script:
+    - |
+      nix run .#cabal-test-902
+
 # 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 ad96b3c..1f5f792 100644
--- a/flake.nix
+++ b/flake.nix
@@ -65,6 +65,7 @@
       # then run the test suite.
       apps.cabal-test-865 = mkCabalTest "ghc865Binary";
       apps.cabal-test-8107 = mkCabalTest "ghc8107";
+      apps.cabal-test-902 = mkCabalTest "ghc902";
 
       apps.release = {
         type = "app";
diff --git a/tahoe-chk.cabal b/tahoe-chk.cabal
index 9b27ed9..1e3fa62 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 || ==8.10.7
+tested-with:        GHC ==8.6.5 || ==8.10.7 || ==9.0.2
 
 source-repository head
   type:     git
-- 
GitLab