Fix documentation for sharing a sandbox #1588

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

nominolo commented Nov 21, 2013

When specifying a --sandbox argument, you have to actually point directly to the created .cabal-sandbox directory.

Member

23Skidoo commented Nov 21, 2013

Thanks for the patch. Fixed in 4495ed2.

@23Skidoo 23Skidoo closed this Nov 21, 2013

Contributor

nominolo commented Nov 21, 2013

Hm. That way should include a caveat warning. If I did this, say, for the cabal repo:

$ git clone https://github.com/haskell/cabal
$ cd cabal
$ cabal sandbox init --sandbox .   # BAD: will put the sandbox files in the current directory

Better:

 $ cd cabal
 $ cabal sandbox init --sandbox .cabal-sandbox
 $ cd cabal-install
 $ cabal sandbox init --sandbox ../.cabal-sandbox
Member

23Skidoo commented Nov 21, 2013

Added a small warning.

Contributor

nominolo commented Nov 22, 2013

Ok, looks good. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment