Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Haskell 全局堆栈config.yaml中的标志_Haskell_Haskell Stack - Fatal编程技术网

Haskell 全局堆栈config.yaml中的标志

Haskell 全局堆栈config.yaml中的标志,haskell,haskell-stack,Haskell,Haskell Stack,我尝试将一些标志添加到全局堆栈config.yaml: flags: extra-include-dirs: /usr/include/ 唉,它还没有被认可: Warning: /Users/vilem/.stack/config.yaml: Unrecognized field in ConfigMonoid: flags 我做错了什么?文档似乎没有答案。找到答案只需添加以下内容: extra-include-dirs: - /usr/include/ 如果能够将全局标志传递给堆

我尝试将一些标志添加到全局堆栈
config.yaml

flags:
  extra-include-dirs: /usr/include/
唉,它还没有被认可:

Warning: /Users/vilem/.stack/config.yaml: Unrecognized field in ConfigMonoid: flags

我做错了什么?文档似乎没有答案。

找到答案只需添加以下内容:

extra-include-dirs:
  - /usr/include/
如果能够将全局标志传递给堆栈,那就太好了