Reputation: 3345
I am getting this error when trying to build a project in haskell stack. This is a mid-sized project with a number of packages. My best guess for what is causing the problem is that some of the packages have circular dependencies, but that is a guess.
stack --stack-yaml stacks/ghc/stack.yaml install
While constructing the build plan, the following exceptions were encountered:
Plan construction failed.
Upvotes: 3
Views: 134
Reputation: 3295
This is likely due to cyclic dependencies. The error message has been fixed in the unreleased version of stack - see https://github.com/commercialhaskell/stack/issues/2583
Upvotes: 2