Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Use a local secure repositories in the test-suite. #9540
base: master
Are you sure you want to change the base?
Use a local secure repositories in the test-suite. #9540
Changes from 2 commits
9bb3af3
7bedf81
d3502d2
e9ea717
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As an option, you could use
cabal user-config update
? But, perhaps, this doesn’t matter.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uhm, TIL, how does that work? I have never used it before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what's the right way to call
cabal-install
in this part of the code, but from the command line you can do something like this to experiment:and observe
./config
. This seems to work for arepository
, but trying to updateremote-repo-cache
doesn't do what is desired here: it updates the existing field from the default value./packages
to whatever new value you supply. Unless I misunderstand whatappendFile
achieves: if it overrides the earlier value ofremote-repo-cache
, then maybe it's the same.I see now that it's not your code: you just moved around what was there before, so I want to clarify that my remark about
user-config
shouldn't derail the PR.