<div dir="ltr">Hey guys, sorry for re-posting, but I feel that my original question is largely different from this one.<div><br></div><div>I've managed to get my broken dependency to build (the mysql package), but unfortunately I had to manually change its source code to make this happen, (original post <a href="https://www.haskell.org/pipermail/haskell-cafe/2015-February/118064.html">https://www.haskell.org/pipermail/haskell-cafe/2015-February/118064.html</a>), but I do have the package installed locally (or in the sandbox of my app).</div><div><br></div><div>The problem is that when I try to `cabal install` the whole application, it will re-download the `mysql` package from Hackage and try to build it again, instead of using the version I custom built and installed myself. <span style="font-size:13.1999998092651px">Is it normal that cabal won't re-use the already existing packages, or did I somehow change it so that it won't recognize it?</span></div><div><span style="font-size:13.1999998092651px"><br></span></div><div>Also, is it possible to explicitly say where should cabal resolve some of its dependencies? Such as this case when one package is in a local path, and other should be built from hackage. I'm not really sure what the best approach is here.</div><div><br></div><div>again sorry for posting twice in a row, but I just can't seem to find this information anywhere in the docs</div><div><br></div><div>Thanks!</div></div>