-
Notifications
You must be signed in to change notification settings - Fork 358
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
Variable for package manager #5436
Conversation
9e198f1
to
d79979a
Compare
d79979a
to
be61d81
Compare
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.
LGTM, and ready to go when the underlying PRs it's based on are done.
For Diskuv, I think it means that:
run_opam var --global "sys-pkg-manager-cmd-msys2=$syspkgmgrpath"
becomes:
run_opam option --global "sys-pkg-manager-cmd+=[\"msys2\" \"$syspkgmgrpath"\"]"
it would be:
|
Oops - poor copy and pasting from the test on my part! |
Thanks for the translation!
This is big enough that I should actually test this PR. I just don't have the bandwidth this week; can this wait until next week? |
Mostly the testing went fine, but it aborted with exit code 1 at the last step:
I'll see if it is obvious (soon, not now) what is going wrong on the last step. |
Err. I ran it again and it worked. Hopefully that was just something silly like the anti-virus kicking in. Thanks for the PR! Works great. |
Incorporates change from ocaml/opam#5436
be61d81
to
f35d997
Compare
This still seems to have the commits from #4926 in it? |
… to system package manager command needed for (at least) msys2 & cygwin
f35d997
to
82d13bc
Compare
Add global config field
sys-pkg-manager-cmd
to be able to specify for MSYS2 & Cygwin the command path. In can be used later to specify more precisely used package manager when several exists in the machine, see. #4440It also permit to not rely on defined variables with the full integration in config file. cc @jonahbeckford
related to #5348