diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
 # Changelog for hackage-cli
 
+## 0.1.0.1
+
+_Andreas Abel, 2023-02-20_
+
+- Fix for `Cabal-3.9.0.0`
+
+Builds with `Cabal 3.4 - 3.9` and `GHC 8.2 - 9.6`.
+
 ## 0.1.0.0
 
 _Andreas Abel, 2023-01-15_
diff --git a/hackage-cli.cabal b/hackage-cli.cabal
--- a/hackage-cli.cabal
+++ b/hackage-cli.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.4
 name:                hackage-cli
-version:             0.1.0.0
+version:             0.1.0.1
 
 synopsis:            CLI tool for Hackage
 description:
@@ -18,6 +18,7 @@
 -- Supported GHC versions when building with cabal:
 tested-with:
   -- Keep in descending order.
+  GHC == 9.6.0
   GHC == 9.4.4
   GHC == 9.2.5
   GHC == 9.0.2
@@ -35,7 +36,6 @@
   -- Supported GHC versions when building with stack:
   stack-9.4.4.yaml
   stack-9.2.5.yaml
-  stack-9.2.4.yaml
   stack-9.0.2.yaml
   stack-8.10.7.yaml
 
@@ -50,9 +50,9 @@
   ghc-options:         -Wall -Wcompat
 
   build-depends:
-    , base         >= 4.10.0.0 && < 4.18
+    , base         >= 4.10.0.0 && < 4.19
     , bytestring   >= 0.10.4.0 && < 0.12
-    , Cabal        >= 3.4      && < 3.10
+    , Cabal        >= 3.4      && < 3.11
     , containers   >= 0.5.0.0  && < 0.7
     , mtl          >= 2.2.2    && < 2.3   || >= 2.3.1 && < 2.4
     , pretty      ^>= 1.1.2
diff --git a/lib/Distribution/Server/Util/CabalRevisions.hs b/lib/Distribution/Server/Util/CabalRevisions.hs
--- a/lib/Distribution/Server/Util/CabalRevisions.hs
+++ b/lib/Distribution/Server/Util/CabalRevisions.hs
@@ -176,12 +176,16 @@
         newwarns -> fail $ "New parse warning: "
                         ++ unlines (map (showPWarning filename) newwarns)
 
+    checkPackageChecks :: Check GenericPackageDescription
     checkPackageChecks pkg pkg' =
       let checks  = checkPackage pkg  Nothing
           checks' = checkPackage pkg' Nothing
        in case checks' \\ checks of
             []        -> return ()
-            newchecks -> fail $ unlines (map explanation newchecks)
+            newchecks -> fail $ unlines (map ppPackageCheck newchecks)
+#if !MIN_VERSION_Cabal(3,9,0)
+      where ppPackageCheck = explanation
+#endif
 
 checkGenericPackageDescription :: Bool -> Check GenericPackageDescription
 checkGenericPackageDescription checkXRevision
diff --git a/stack-9.2.4.yaml b/stack-9.2.4.yaml
deleted file mode 100644
--- a/stack-9.2.4.yaml
+++ /dev/null
@@ -1,6 +0,0 @@
-resolver: nightly-2022-11-12
-compiler: ghc-9.2.4
-compiler-check: match-exact
-
-packages:
-- .
