Closed
Description
Building hls-fourmolu-plugin-1.1.1.0
results in a build error, when it is built with haskell-language-server-1.8.0.0
:
Preprocessing library for hls-fourmolu-plugin-1.1.1.0..
Building library for hls-fourmolu-plugin-1.1.1.0..
[1 of 2] Compiling Ide.Plugin.Fourmolu.Shim ( src/Ide/Plugin/Fourmolu/Shim.hs, dist/build/Ide/Plugin/Fourmolu/Shim.o, dist/build/Ide/Plugin/Fourmolu/Shim.dyn_o )
[2 of 2] Compiling Ide.Plugin.Fourmolu ( src/Ide/Plugin/Fourmolu.hs, dist/build/Ide/Plugin/Fourmolu.o, dist/build/Ide/Plugin/Fourmolu.dyn_o )
src/Ide/Plugin/Fourmolu.hs:62:56: error:
Variable not in scope:
usePropertyAction
:: t0
-> PluginId
-> Properties '[ 'PropertyKey "external" 'TBoolean]
-> Action Bool
|
62 | useCLI <- liftIO $ runAction "Fourmolu" ideState $ usePropertyAction #external plId properties
| ^^^^^^^^^^^^^^^^^
Which makes sense, since usePropertyAction
was not exported until 1.8.0.2
, which is not on hackage:
haskell-language-server/ghcide/src/Development/IDE.hs
Lines 19 to 20 in ddb21a0
I'd recommend creating a revision on hackage that fixes the lower bound: ghcide >= 1.9