在尝试构建Haskell stack项目时,我遇到了这个错误。这是一个中型项目,包含许多软件包。我目前最好的猜测是一些软件包存在循环依赖,导致了问题。
stack --stack-yaml stacks/ghc/stack.yaml install
While constructing the build plan, the following exceptions were encountered:
Plan construction failed.
在尝试构建Haskell stack项目时,我遇到了这个错误。这是一个中型项目,包含许多软件包。我目前最好的猜测是一些软件包存在循环依赖,导致了问题。
stack --stack-yaml stacks/ghc/stack.yaml install
While constructing the build plan, the following exceptions were encountered:
Plan construction failed.
这很可能是由于循环依赖引起的。错误信息已在未发布版本的stack中修复-请参见https://github.com/commercialhaskell/stack/issues/2583