在我的~/.cabal/config文件中
require-sandbox: True根据“阴谋用户指南”,我应该能够这样覆盖:
amy@wombat$ cabal install xmonad xmonad-contrib --no-require-sandbox
cabal: unrecognized 'install' option `--no-require-sandbox'我做错了什么?我使用的是阴谋安装版本1.21.0.0。
发布于 2014-05-08 15:10:37
cabal-install对命令行标志与子命令的顺序非常敏感。--no-require-sanbox是一个全局标志,它适用于所有的子命令,而不仅仅是install,所以您需要将它放在install之前。
$ cabal --no-require-sandbox install ...https://stackoverflow.com/questions/23544266
复制相似问题