[commit: packages/Cabal] ghc-head: Small warning. (3456505)

git at git.haskell.org git at git.haskell.org
Thu Jan 16 16:03:54 UTC 2014


Repository : ssh://git@git.haskell.org/Cabal

On branch  : ghc-head
Link       : http://git.haskell.org/packages/Cabal.git/commitdiff/345650535993522a0fd75a53a4c681c5d3027030

>---------------------------------------------------------------

commit 345650535993522a0fd75a53a4c681c5d3027030
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date:   Thu Nov 21 23:25:58 2013 +0100

    Small warning.


>---------------------------------------------------------------

345650535993522a0fd75a53a4c681c5d3027030
 Cabal/doc/installing-packages.markdown |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Cabal/doc/installing-packages.markdown b/Cabal/doc/installing-packages.markdown
index 5348ddd..7940330 100644
--- a/Cabal/doc/installing-packages.markdown
+++ b/Cabal/doc/installing-packages.markdown
@@ -130,6 +130,7 @@ Sometimes one wants to share a single sandbox between multiple packages. This
 can be easily done with the `--sandbox` option:
 
 ~~~~~~~~~~~~~~~
+$ mkdir -p /path/to/shared-sandbox
 $ cd /path/to/shared-sandbox
 $ cabal sandbox init --sandbox .
 $ cd /path/to/package-a
@@ -138,6 +139,11 @@ $ cd /path/to/package-b
 $ cabal sandbox init --sandbox /path/to/shared-sandbox
 ~~~~~~~~~~~~~~~
 
+Note that `cabal sandbox init --sandbox .` puts all sandbox files into the
+current directory. By default, `cabal sandbox init` initialises a new sandbox in
+a newly-created subdirectory of the current working directory
+(`./.cabal-sandbox`).
+
 Using multiple different compiler versions simultaneously is also supported, via
 the `-w` option:
 



More information about the ghc-commits mailing list