阴谋集团构建失败(冲突:需要GHC2021)不清楚这是什么?


cabal build myproject
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: plutarch (user goal)
[__0] rejecting: plutarch-1.3.0 (conflict: requires GHC2021)
[__0] fail (backjumping, conflict set: plutarch)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: plutarch

我遇到了上面的错误(conflict: requires GHC2021),但不清楚这是什么?它似乎不是一个包裹?在网络搜索中有各种提到GHC2021,但我仍然不明白这个冲突是什么?

https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/control.html似乎表明它是一种语言规范,但我不确定应该在哪里指定?

更多信息:

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.0.2
$ cabal --version
cabal-install version 3.4.0.0
compiled using version 3.4.0.0 of the Cabal library

cabal.project:

packages: myproject/
source-repository-package
type: git
location: https://github.com/Plutonomicon/plutarch-plutus.git
tag: 01a67f56b2bf428538e92ed9ada0ce88d90ab636

修复GHC更新到9.4.3和cabal更新到3.6.2时的问题。

最新更新