我最近在我的设置中破坏了一些东西(可能是堆栈升级),发现我无法让它再次工作:
ghc-mod: <command line>: cannot satisfy -package-id http-types-0.8.6-6a9e3ae2218aaee5f093c4f68fa256c5
$ stack list-dependencies | grep http
http-types 0.8.6
$ cabal --version
cabal-install version 1.22.6.0
using version 1.22.4.0 of the Cabal library
$ cabal info http-types | grep installed
Versions installed: 0.8.6
我正在使用最近的stack-support
分支。为什么我有这个哈希差异?
$ ghc-pkg dump | grep http-types
name: http-types
id: http-types-0.8.6-6f392f2a441fe60aa14d377f6850166a