We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8127f7 commit 9c8fb52Copy full SHA for 9c8fb52
exe/Wrapper.hs
@@ -148,7 +148,8 @@ launchHaskellLanguageServer recorder parsedArgs = do
148
149
let
150
hlsBin = "haskell-language-server-" ++ ghcVersion
151
- candidates' = [hlsBin, "haskell-language-server"]
+ ghcupBin = "haskell-language-server-" ++ ghcVersion ++ "~" ++ hlsVersion
152
+ candidates' = [hlsBin, ghcupBin, "haskell-language-server"]
153
candidates = map (++ exeExtension) candidates'
154
155
liftIO $ hPutStrLn stderr $ "haskell-language-server exe candidates: " ++ show candidates
0 commit comments