diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 608bd8aad4c1b8133324afeb831b406264a84ba8..4e55a6dbc6aace00bd7b47c1d3e46097777b436f 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 ad96b3caad39993570f67ede367cd5b20bf1761e..1f5f7925ef3d61bc48f7f88c3707cdf13700b5f9 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 9b27ed9df07ce97ad07fa773b6020c24d4527398..1e3fa62a27271837c07d619b44c252dbc4d85928 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