I am running Xmonad window manager together with Xmobar on ArchLinux 5.14.12-arch1-1. I have ghc, cabal, and stack installed. Suddenly Doom has started having a problem with Haskell files and is returning with:
'Error (haskell-mode-vars-hook): Error running hook "lsp!" because: (invalid-function-lsp!)'.
I have an another machine with exactly the same version of ArchLinux and Haskell installed and Doom reads Haskell files without any problems at all.
I have tried running Doom upgrade, sync and doctor and installing the haskell-language-server. I have also re-installed emacs, doom and ghc completely but the problem remains. Doom also seems to have a problem with all the Xmonad imports in the xmonad.hs configuration file stating that key packages such as xmonad-contrib etc are missing. However, all Xmonad packages are installed on the machine and the Xmonad/Xmobar window manager functionality is working perfectly. What am I missing? Thx in advance..