Skip to content
Snippets Groups Projects
Commit ff2967e4 authored by Adam Gundry's avatar Adam Gundry Committed by Mikolaj
Browse files

docs: correct references to location of global store

parent d9aa52f9
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ Nix-style local builds combine the best of non-sandboxed and sandboxed Cabal:
will rebuild all its dependencies with profiling automatically.
2. Like non-sandboxed Cabal today, builds of external packages are
cached in ``~/.cabal/store``, so that a package can be built once,
cached in a global store, so that a package can be built once,
and then reused anywhere else it is also used. No need to continually
rebuild dependencies whenever you make a new sandbox: dependencies
which can be shared, are shared.
......
......@@ -170,8 +170,9 @@ identify the result of a build; if we compute this identifier and we
find that we already have this ID built, we can just use the already
built version.
The global package store is ``~/.cabal/store`` (configurable via
global `store-dir` option); if you need to clear your store for
Use ``cabal path --store-dir`` to show where your global package store is located.
This is configurable via the global ``store-dir`` option.
If you need to clear your store for
whatever reason (e.g., to reclaim disk space or because the global
store is corrupted), deleting this directory is safe (``build``
will just rebuild everything it needs on its next invocation).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment