You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Doom Emacs 27.1 on NixOS and I am unable to apply any HLint suggestions. I get this error:
LSP :: Please open an issue in lsp-mode for implementing `21782:hlint:applyOne'.
(error "ExitFailure 1")
As per the error message, I was not sure if I should file an issue here or in lsp-mode. Since I was using Haskell LSP, I thought that filing an issue here would be more appropriate. Let me know if that's not the case.
I also noticed that this message appears in *lsp-haskell::stderr* buffer:
It seems that the Nix hash for GHC was supposed to be substituted here but failed for some reason. GHC is actually in /nix/store/4gz77sky04mdw54lcg7h9xpjnsd8873h-ghc-8.10.2 and /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ghc-8.10.2 doesn't exist.
I tried to apply HLint suggestion on VS Code and it worked there. So, I think that the issue is with lsp-haskell or lsp-mode.
The text was updated successfully, but these errors were encountered:
I actually get the same issue with VS Code. I mistakenly applied a non-hlint suggestion which worked and thought that Emacs was at fault. However, applying anything of the form Apply hint: ... also fails on VS Code.
So, the issue is probably with haskell-language-server itself or with Nix.
Hi,
I am using Doom Emacs 27.1 on NixOS and I am unable to apply any HLint suggestions. I get this error:
As per the error message, I was not sure if I should file an issue here or in lsp-mode. Since I was using Haskell LSP, I thought that filing an issue here would be more appropriate. Let me know if that's not the case.
I also noticed that this message appears in
*lsp-haskell::stderr*
buffer:It seems that the Nix hash for GHC was supposed to be substituted here but failed for some reason. GHC is actually in
/nix/store/4gz77sky04mdw54lcg7h9xpjnsd8873h-ghc-8.10.2
and/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ghc-8.10.2
doesn't exist.I tried to apply HLint suggestion on VS Code and it worked there. So, I think that the issue is with lsp-haskell or lsp-mode.
The text was updated successfully, but these errors were encountered: