Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
ff2967e4
Commit
ff2967e4
authored
1 year ago
by
Adam Gundry
Committed by
Mikolaj
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
docs: correct references to location of global store
parent
d9aa52f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/how-to-build-like-nix.rst
+1
-1
1 addition, 1 deletion
doc/how-to-build-like-nix.rst
doc/nix-local-build.rst
+3
-2
3 additions, 2 deletions
doc/nix-local-build.rst
with
4 additions
and
3 deletions
doc/how-to-build-like-nix.rst
+
1
−
1
View file @
ff2967e4
...
...
@@ -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
``~/.ca
bal
/
store
``
, so that a package can be built once,
cached in
a glo
bal
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.
...
...
This diff is collapsed.
Click to expand it.
doc/nix-local-build.rst
+
3
−
2
View file @
ff2967e4
...
...
@@ -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).
...
...
This diff is collapsed.
Click to expand it.
Adam Gundry
@adamgundry
mentioned in commit
haskell/cabal@857c0eb8
·
11 months ago
mentioned in commit
haskell/cabal@857c0eb8
mentioned in commit haskell/cabal@857c0eb8218bd2de1ec06bd6e681220b65eca08c
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment