<div dir="ltr">When I compiled some code this morning I got an error that said that I should edit my cabal file, but I notice that one thing is missing, the path to the cabal file. Having that in the error message would make fixing it a bit easier and faster in that emacs could take me right to the correct cabal file and that I would know for sure which one it was using.<div><br></div><div>I tried filing this as a bug on the stack github repo but they said it is a ghc issue. <br><div><div><br></div><div><br></div><div><pre style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:11.9px;margin-top:0px;font-stretch:normal;line-height:1.45;word-wrap:normal;padding:16px;overflow:auto;background-color:rgb(247,247,247);border-radius:3px;color:rgb(51,51,51);margin-bottom:0px"><code style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:11.9px;padding:0px;margin:0px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:transparent;border-radius:3px;word-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit;word-wrap:normal">[1 of 1] Compiling Main             ( tests/test.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.0.0/build/test/test-tmp/Main.o )

/home/zkessin/Documents/*****/tests/test.hs:17:1: error:
    Failed to load interface for ‘Control.Lens’
    It is a member of the hidden package ‘lens-4.14’.
    Perhaps you need to add ‘lens’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
Progress: 1/2
--  While building package ***********-0.1.0.0 using:
      /home/zkessin/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.24.0.0-ghc-8.0.1 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.24.0.0 build lib:********** test:test --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1
</code></pre><div><code style="box-sizing:border-box;font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:11.9px;padding:0px;margin:0px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:transparent;border-radius:3px;word-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit;word-wrap:normal"><br></code></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Zach Kessin</div><div><a href="http://squaretarget.rocks?utm_source=email-sig" target="_blank">SquareTarget</a></div><div><span style="font-size:12.8px">Twitter: </span><a href="https://twitter.com/zkessin" style="font-size:12.8px" target="_blank">@zkessin</a><br></div><div>Skype: zachkessin<br></div></div></div></div></div></div></div>
</div></div></div></div>