Notes about the compilation of ghc-mod 5.9.0 for ghc 8.2.2.
Used commit: changeset 96c2207
Maybe the newer commit with changeset e5b7daf which is used by the Haskell IDE Engine
in my today installation maybe work too. Have not tested it standalone.
Working stack.yaml file:
resolver: lts-11.22