<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thank you very much!<br>
    <br>
    <div class="moz-cite-prefix">On 18/09/15 18:36, Michal Antkiewicz
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGW9QSwWW5D6LPFbnPCmT-Yd6dOvXxfUGmu1Kz+1RuHU9qiOag@mail.gmail.com"
      type="cite">
      <div dir="ltr">In the ANN announcement email [1] it says:
        <div><br>
        </div>
        <div>"<span style="font-size:12.8px">* Stack support</span></div>
        <br style="font-size:12.8px">
        <span style="font-size:12.8px">  After countless requests
          ghc-mod now finally has first class Stack</span><br
          style="font-size:12.8px">
        <span style="font-size:12.8px">  support. This should mostly
          Just-Work^TM there is one caveat though if</span><br
          style="font-size:12.8px">
        <span style="font-size:12.8px">  `dist/setup-config` exists in a
          Cabal-project directory ghc-mod will continue</span><br
          style="font-size:12.8px">
        <span style="font-size:12.8px">  using cabal-install instead of
          Stack so if you want to use Stack instead</span><br
          style="font-size:12.8px">
        <span style="font-size:12.8px">  simply remove that file or the
          whole directory. You also need at least Stack</span><br
          style="font-size:12.8px">
        <span style="font-size:12.8px">  version 0.1.4.0 for this to
          work."</span>
        <div class="gmail_extra"><br clear="all">
          <div>
            <div class="gmail_signature">
              <div dir="ltr">
                <div>Michał </div>
                <div><br>
                </div>
                <div>[1] <a moz-do-not-send="true"
href="https://mail.haskell.org/pipermail/haskell-cafe/2015-September/121412.html">https://mail.haskell.org/pipermail/haskell-cafe/2015-September/121412.html</a></div>
              </div>
            </div>
          </div>
          <br>
          <div class="gmail_quote">On Fri, Sep 18, 2015 at 11:28 AM,
            Denis Shevchenko <span dir="ltr"><<a
                moz-do-not-send="true"
                href="mailto:haskell@dshevchenko.biz" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:haskell@dshevchenko.biz">haskell@dshevchenko.biz</a></a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> Hi!<br>
                <br>
                I try to use last ghc-mod with stack. In Changelog (<a
                  moz-do-not-send="true"
                  href="https://hackage.haskell.org/package/ghc-mod-5.4.0.0/changelog"
                  target="_blank"><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></a>)
                I read:<br>
                <br>
                * 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??<span class=""><font color="#888888"><br>
                    <br>
                    - Denis<br>
                  </font></span></div>
              <br>
              _______________________________________________<br>
              Haskell-Cafe mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
              <a moz-do-not-send="true"
                href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe"
                rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>