全局堆栈config.yaml中的标志 [英] Flags in global Stack config.yaml
本文介绍了全局堆栈config.yaml中的标志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试向全局堆栈 config.yaml
中添加一些标志:
I tried adding some flags to my global Stack config.yaml
:
flags:
extra-include-dirs: /usr/include/
A,它未被识别:
Warning: /Users/vilem/.stack/config.yaml: Unrecognized field in ConfigMonoid: flags
我做错了什么?该文档似乎没有答案.
What am I doing wrong? The documentation doesn't seem to have an answer.
推荐答案
找到了答案,只需添加以下内容即可:
Found the answer—just add this:
extra-include-dirs:
- /usr/include/
能够将全局标志传递给Stack仍然很好.
It would still be nice to be able to pass global flags to Stack.
这篇关于全局堆栈config.yaml中的标志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文