Emacs Interactive-Haskell repl non-response if either the cabal or working directory set to project directory

Solution 1:

This is a known bug. and a good catch!

The pull request https://github.com/haskell/haskell-mode/pull/1116/files solves it.