The current version fails to build with error:
src/Ide/Plugin/GhcIde.hs:42:7: error:
Variable not in scope:
executeAddSignatureCommand
:: Language.Haskell.LSP.Core.LspFuncs Ide.Plugin.Config.Config
-> IdeState
-> ExecuteCommandParams
-> IO
(Either ResponseError Value,
Maybe (ServerMethod, ApplyWorkspaceEditParams))
|
42 | = executeAddSignatureCommand lf ide (ExecuteCommandParams "typesignature.add" (Just (List [toJSON params])) Nothing)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Updating this is the only straightforward way to build haskell-language-server in Nixpkgs.
thanks for the bug report, we should test the package install in isolation
The build works in master, it's just a matter of updating the version that's on Hackage.
From #405
Well, i am afraid that the hackage version of hls-plugin-api cant be built standalone cause it relies in the ghcide fork that was used when it was uploaded. It fails to compile with the hackage version of ghcide 馃槦
That should not be like that, and i still think the next release should be done correctly, against a suitable released ghcide version.
hls-plugin-api-0.4.1.0, compatible with ghcide-0.4.0, has been released: