-
Notifications
You must be signed in to change notification settings - Fork 701
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
Add 'store-dir' global flag for custom store location #4623
Conversation
@alexbiehl, thanks for your PR! By analyzing the history of the files in this pull request, we identified @dcoutts, @ezyang and @hvr to be potential reviewers. |
Haven't looked at the code, but the general idea is good. |
LGTM. CI failures are because you've forgotten some test/monoid-y code for the config change. Look at an old diff which added a field to figure out exactly what. |
60cf06a
to
5448f1e
Compare
OK, this is ready for review now! Tests should work pass now! |
Hmm. I am not sure what is causing some of the tests to fail. |
It doesn't look like it's your fault, looks like CI is in trouble right now. |
FYI I cancelled your most recent build because it was definitely going to fail |
CI is unwedged, I restarted it. |
Hi @alexbiehl, can you rebase your PR on master and repush? It doesn't look like Travis is successfully merging with master (which has fixed contbuild.) |
573c12f
to
0570dda
Compare
Almost... |
Yeah! CI is happy! |
@alexbiehl Can you please add some docs and update the changelog? Otherwise the patch seems okay. |
@alexbiehl NB: you can use |
@23Skidoo are the |
Yes it's just the changelog conflict. |
I've been trying to use this but it always results in a weird path:
No matter what path I give it, the resulting path seems to always be rooted in |
@Mistuke Can you please file a new issue? |
This is also a nice workaround for #4515 since I can easily define
store-dir=C:\cabal-store
in my global configuration.This also propagates the global
logs-dir
configuration instead of hard-coding the logs dir tocabalDir </> logs
.