Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stack solver creates a build plan that stack build can't follow. #2453

danielwaterworth opened this issue Aug 8, 2016 · 2 comments


Copy link

Steps to reproduce

For example:

  1. git clone cd editor&& git checkout stack_bug
  2. Run command stack solver.
  3. Run command stack build.


A successful build, or at least successful dependency resolution.


Stack version

$ stack --version
Version 1.1.2, Git revision cebe10e845fed4420b6224d97dcabf20477bbd4b (3646 commits) x86_64 hpack-0.14.0

Method of installation

  • Installed via curl command.
Copy link

It looks like stack solver doesn't take into account dependencies that are forced by the ghc version. In this case template-haskell.

Copy link

In the second retry phase when it relaxes the hard constraints to soft preferences it treats even the ghc wired-in packages as preferences. ghc packages should still remain as hard constraints only other packages should be relaxed. I am fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants