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

nhaq1z21  于 2022-12-13  发布在  其他
关注(0)|答案(1)|浏览(149)
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

阴谋计划

packages: myproject/

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

iovurdzv1#

当GHC更新到9.4.3和cabal更新到3.6.2时修复。

相关问题