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 #27

Merged
merged 1 commit into from
Oct 13, 2022
Merged

Suggest cabal --store-dir #27

merged 1 commit into from
Oct 13, 2022

Conversation

Bodigrim
Copy link
Contributor

Closes #26.

@Bodigrim Bodigrim requested a review from chshersh as a code owner October 12, 2022 21:11
@chshersh chshersh added the documentation Improvements or additions to documentation label Oct 13, 2022
>
> ```shell
> rm -rf ~/.cabal/store
> cabal --store-dir=$(mktemp -d) build all
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for my understanding, this is because with --store-dir, cabal reuses downloaded sources from ~/.cabal and that's why we don't see the Downloading phase?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, --store-dir overrides only ~/.cabal/store, but other contents of ~/.cabal such as ~/.cabal/packages remains in use.

Copy link
Owner

@chshersh chshersh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@chshersh chshersh merged commit b6e2eec into chshersh:main Oct 13, 2022
@Bodigrim Bodigrim deleted the patch-1 branch October 13, 2022 23:02
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 this pull request may close these issues.

Suggest cabal --store-dir
2 participants