diff --git a/hls-fourmolu-plugin.cabal b/hls-fourmolu-plugin.cabal
--- a/hls-fourmolu-plugin.cabal
+++ b/hls-fourmolu-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.4
 name:               hls-fourmolu-plugin
-version:            2.3.0.0
+version:            2.4.0.0
 synopsis:           Integration with the Fourmolu code formatter
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -23,7 +23,11 @@
   location: git://github.com/haskell/haskell-language-server.git
 
 library
-  buildable: True
+  -- Plugins that need exactprint have not been updated for 9.8 yet
+  if impl(ghc >= 9.8)
+    buildable: False
+  else
+    buildable: True
   exposed-modules:
       Ide.Plugin.Fourmolu
   hs-source-dirs:   src
@@ -33,8 +37,8 @@
     , filepath
     , ghc
     , ghc-boot-th
-    , ghcide          == 2.3.0.0
-    , hls-plugin-api  == 2.3.0.0
+    , ghcide          == 2.4.0.0
+    , hls-plugin-api  == 2.4.0.0
     , lens
     , lsp
     , mtl
@@ -55,7 +59,10 @@
   default-language: Haskell2010
 
 test-suite tests
-  buildable: True
+  if impl(ghc >= 9.8)
+    buildable: False
+  else
+    buildable: True
   type:             exitcode-stdio-1.0
   default-language: Haskell2010
   hs-source-dirs:   test
@@ -70,5 +77,5 @@
     , filepath
     , hls-fourmolu-plugin
     , hls-plugin-api
-    , hls-test-utils       == 2.3.0.0
+    , hls-test-utils       == 2.4.0.0
     , lsp-test
