我在最新版本的快乐(1.19.5)中遇到了a bug。我如何告诉stack去寻找更新版本的Happy (1.19.6),只在git代码库中找到?现在,我让stack管理一切;对Happy的唯一引用在我的cabal文件中。相关部分为:
...
library:
hs-source-dirs: src
ghc-options: -Wall
build-tools: alex, happy
...发布于 2017-03-08 19:48:58
您需要将以下内容放入stack.yaml文件中,才能将特定的包视为依赖包:
packages:
- location: .
- location:
git: git@github.com:orgname/project_name
commit: <commitid>
extra-dep: true替换为正确的git url和提交id,用于引用happy项目。您可以阅读有关该here的更多信息。
https://stackoverflow.com/questions/42668419
复制相似问题