Haskell Platform安装完成后user-config的配置问题

Haskell Platform安装完成之后,按照https://www.haskell.org/platform/windows.html这个页面的步骤执行完cabal user-config init之后,在生成的config文件中已经对
extra-prog-path
项有了一条默认的配置是:
extra-prog-path: C:\Users\w\AppData\Roaming\cabal\bin

而按照安装页面给出的步骤是需要对该项进行配置,这个时候就会有疑问,这个默认的配置是否要保留?是替换?还是两个都添加进去,怎么对一个配置项添加两个配置?

安装页面上有个note:

Note: cabal config files can contain more than one of each of those lines— no need to replace any existing entries. Additionally, youshould double-check that the version component of the path corresponds toyour installed platform.

说明不要替换任何已经存在的配置,并且也说了cabal的配置文件中的配置项可以包含不止一个配置值,但没有说两个配置值应该怎么分隔,搜索之后在stackoverflow中找到了相同的提问:

https://stackoverflow.com/questions/42555250/installing-haskell-on-windows-cabal-config?answertab=active#tab-top

这个问题的下面有句回答是:extra-prog-path can be a list of paths separated by commas

到此,问题解决。



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值