diff --git a/hls-pragmas-plugin.cabal b/hls-pragmas-plugin.cabal
--- a/hls-pragmas-plugin.cabal
+++ b/hls-pragmas-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.4
 name:               hls-pragmas-plugin
-version:            1.0.3.0
+version:            1.0.4.0
 synopsis:           Pragmas plugin for Haskell Language Server
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -17,6 +17,10 @@
   test/testdata/*.hs
   test/testdata/*.yaml
 
+source-repository head
+    type:     git
+    location: https://github.com/haskell/haskell-language-server.git
+
 library
   buildable: True
   exposed-modules:  Ide.Plugin.Pragmas
@@ -26,8 +30,8 @@
     , extra
     , fuzzy
     , ghc
-    , ghcide                ^>=1.8
-    , hls-plugin-api        ^>=1.5
+    , ghcide                ^>=1.8 || ^>= 1.9
+    , hls-plugin-api        ^>=1.5 || ^>= 1.6
     , lens
     , lsp
     , text
@@ -48,7 +52,7 @@
     , base
     , filepath
     , hls-pragmas-plugin
-    , hls-test-utils      ^>=1.4
+    , hls-test-utils      ^>=1.5
     , lens
     , lsp-types
     , text
diff --git a/test/Main.hs b/test/Main.hs
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -15,8 +15,8 @@
 main :: IO ()
 main = defaultTestRunner tests
 
-pragmasPlugin :: PluginDescriptor IdeState
-pragmasPlugin = descriptor "pragmas"
+pragmasPlugin :: PluginTestDescriptor ()
+pragmasPlugin = mkPluginTestDescriptor' descriptor "pragmas"
 
 tests :: TestTree
 tests =
