Hi!

I try to use last ghc-mod with stack. In Changelog (https://hackage.haskell.org/package/ghc-mod-5.4.0.0/changelog) I read:

* Add support for the Stack build tool

And I see new option:

    --with-stack=PATH
        stack executable to use

So I do:

$ ghc-mod --with-stack=/usr/local/bin/stack check src/Main.hs

But I got this error:

ghc-mod: cabal: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

I don't understand it. If I specify path to stack - why ghc-mod still try to use cabal-install? And if cabal-install is still required - why is this new option for??

- Denis