[Haskell-cafe] ghc-mod- and stack

Denis Shevchenko haskell at dshevchenko.biz
Fri Sep 18 15:28:18 UTC 2015


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

* Add support for the Stack build tool

And I see new option:

         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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150918/b5d65038/attachment.html>

More information about the Haskell-Cafe mailing list