Eglot uses flymake version "1.0.8" which creates temporary haskell files in source directory. see this: https://github.com/flymake/emacs-flymake/issues/32 Your flymake version doesn't have flymake-run-in-place