<div dir="ltr"><div><div><div><div>Hello,<br></div>I have a package depending on another:<br><span style="font-family:monospace,monospace"><br>Foo/stack.yaml:<br><br>flags: {}<br>packages:<br>- '.'<br>- location: ../Bar<br>  extra-dep: true<br>extra-deps:<br>- Bar-0.7.6<br>resolver: lts-2.19</span><br><br></div>When I compile (stack build), I obtain: <br><span style="font-family:monospace,monospace"><br>--  While attempting to add dependency,<br>    Could not find package DebugTraceHelpers in known packages<br><br>--  Failure when adding dependencies:    <br>      DebugTraceHelpers: needed (==0.12.*), but not present in build plan, latest is 0.12<br>    needed for package: Bar-0.7.6</span><br><br></div><span style="font-family:arial,helvetica,sans-serif">I find it strange that it asks for DebugTraceHelpers because it's not a direct dependency of my package, but a dependency of a dependency.<br></span></div><span style="font-family:arial,helvetica,sans-serif">It is correctly mentioned in Bar/stack.yml:</span><span style="font-family:monospace,monospace"><br></span><div><div><div><div><br><span style="font-family:monospace,monospace">flags: {}<br>packages:<br>- '.'<br>extra-deps:<br>- DebugTraceHelpers-0.12<br>resolver: lts-2.19</span><br><br></div></div></div></div></div>