diff --git a/hls-brittany-plugin.cabal b/hls-brittany-plugin.cabal
--- a/hls-brittany-plugin.cabal
+++ b/hls-brittany-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.4
 name:               hls-brittany-plugin
-version:            1.0.2.1
+version:            1.0.2.2
 synopsis:           Integration with the Brittany code formatter
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -17,6 +17,10 @@
   test/testdata/**/*.hs
 
 library
+  if impl(ghc >= 9.2)
+    buildable: False
+  else
+    buildable: True
   exposed-modules:  Ide.Plugin.Brittany
   hs-source-dirs:   src
   build-depends:
@@ -25,8 +29,8 @@
     , brittany        >=0.13.1.0 && < 0.14.0.1 || > 0.14.0.1
     , filepath
     , ghc-boot-th
-    , ghcide          ^>= 1.6 || ^>= 1.7
-    , hls-plugin-api  ^>= 1.3 || ^>= 1.4
+    , ghcide          ^>= 1.6 || ^>= 1.7 || ^>= 1.8
+    , hls-plugin-api  ^>= 1.3 || ^>= 1.4 || ^>= 1.5
     , lens
     , lsp-types
     , text
@@ -39,6 +43,10 @@
   default-language: Haskell2010
 
 test-suite tests
+  if impl(ghc >= 9.2)
+    buildable: False
+  else
+    buildable: True
   type:             exitcode-stdio-1.0
   default-language: Haskell2010
   hs-source-dirs:   test
@@ -48,4 +56,4 @@
     , base
     , filepath
     , hls-brittany-plugin
-    , hls-test-utils        ^>=1.3
+    , hls-test-utils        ^>=1.3 || ^>= 1.4
