Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest cabal --store-dir #26

Closed
Bodigrim opened this issue Oct 11, 2022 · 1 comment · Fixed by #27
Closed

Suggest cabal --store-dir #26

Bodigrim opened this issue Oct 11, 2022 · 1 comment · Fixed by #27
Labels
documentation Improvements or additions to documentation

Comments

@Bodigrim
Copy link
Contributor

dr-cabal/README.md

Lines 102 to 107 in af95d44

> You may prefer a less invasive approach if you have custom global
> Cabal configurations:
>
> ```shell
> rm -rf ~/.cabal/store
> ```

I'd like to suggest an even less intrusive approach, without nuking the whole store:

cabal --store-dir=foobar build

Cabal will create if non-existent and use foobar folder to store built packages.

POSIX users can simplify their lifes even further, creating a fresh temporary folder every time:

cabal --store-dir=$(mktemp -d) build
@chshersh chshersh added the documentation Improvements or additions to documentation label Oct 12, 2022
@chshersh
Copy link
Owner

That sounds like a great suggestion and a really nice documentation improvement 🙂

chshersh pushed a commit that referenced this issue Oct 13, 2022
@chshersh chshersh added this to the v0.2.0.0: Interactivity milestone Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants