In my ~/.cabal/config
file, I have
require-sandbox: True
According to the Cabal User Guide, I should be able to override this like so:
amy@wombat$ cabal install xmonad xmonad-contrib --no-require-sandbox
cabal: unrecognized 'install' option `--no-require-sandbox'
What am I doing wrong? I'm using cabal-install version 1.21.0.0.
cabal-install
is sensitive to the ordering of the command line flags respective to the subcommands. --no-require-sanbox
is a global flag that applies to all subcommands, not just to install
, so you need to put it before install
:
$ cabal --no-require-sandbox install ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With