<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi!<br>
<br>
I try to use last ghc-mod with stack. In Changelog
(<a class="moz-txt-link-freetext" href="https://hackage.haskell.org/package/ghc-mod-5.4.0.0/changelog">https://hackage.haskell.org/package/ghc-mod-5.4.0.0/changelog</a>) I
read:<br>
<br>
<meta charset="utf-8">
* Add support for the Stack build tool<br>
<br>
And I see new option:<br>
<br>
--with-stack=PATH<br>
stack executable to use<br>
<br>
So I do:<br>
<br>
$ ghc-mod --with-stack=/usr/local/bin/stack check src/Main.hs<br>
<br>
But I got this error:<br>
<br>
ghc-mod: cabal: readCreateProcess: runInteractiveProcess: exec: does
not exist (No such file or directory)<br>
<br>
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??<br>
<br>
- Denis<br>
</body>
</html>