Commit a52fb068 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Small warning.

parent 4495ed2b
...@@ -130,6 +130,7 @@ Sometimes one wants to share a single sandbox between multiple packages. This ...@@ -130,6 +130,7 @@ Sometimes one wants to share a single sandbox between multiple packages. This
can be easily done with the `--sandbox` option: can be easily done with the `--sandbox` option:
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
$ mkdir -p /path/to/shared-sandbox
$ cd /path/to/shared-sandbox $ cd /path/to/shared-sandbox
$ cabal sandbox init --sandbox . $ cabal sandbox init --sandbox .
$ cd /path/to/package-a $ cd /path/to/package-a
...@@ -138,6 +139,11 @@ $ cd /path/to/package-b ...@@ -138,6 +139,11 @@ $ cd /path/to/package-b
$ cabal sandbox init --sandbox /path/to/shared-sandbox $ 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 Using multiple different compiler versions simultaneously is also supported, via
the `-w` option: the `-w` option:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment