stack solver doesn't find setup-depends #3044
General summary/comments (optional)
When building a package with setup-depends dependency which is not in the snapshot,
Steps to reproduce
acme-missiles-0.3 is recommended
It says stack.yaml is ok
Method of installation
The text was updated successfully, but these errors were encountered:
The issue is likely that you have an older version of cabal-install installed. Check
In 38f67e8 I've added the following warning to make this clearer:
And it doesn't work in current HEAD (after your commit):
To be clear I have the following
import Distribution.Simple import Acme.Missiles main = defaultMain
And the following
(Although it doesn't work with
I get the following during
And the following during
I've just installed the latest
Ahah! I think I figured it out. It skips running the solver if all the deps are contained in the snapshot. It was using functions that didn't count setup dependencies as dependencies of the package. The resolution to http://github.com/fpco/stack/issues/3035 fixes this problem as well.
It was merged back to master quite recently, after the commit that you're on. So I believe this should now be fixed!
Works for me too, good job!
BTW stack itself builds just fine with LTS-8.4