In the ANN announcement email [1] it says:
"* Stack support
After countless requests ghc-mod now finally has first class Stack
support. This should mostly Just-Work^TM there is one caveat though if
`dist/setup-config` exists in a Cabal-project directory ghc-mod will continue
using cabal-install instead of Stack so if you want to use Stack instead
simply remove that file or the whole directory. You also need at least Stack
version 0.1.4.0 for this to work."
On Fri, Sep 18, 2015 at 11:28 AM, Denis Shevchenko <haskell@dshevchenko.biz> wrote:
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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe