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

API: Allow explicit installation of system packages #5994

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Jun 6, 2024

This is a refactoring in OpamSolution so that the depext menu can be displayed either with a list of opam packages (as OpamSolution.install_depexts presently does, or slightly lower-level where the set of system packages to install is already calculated by the caller (the new OpamSolution.install_sys_packages).

Additionally, the existing OpamSolution.print_depext_msg is exposed (ultimately to allow it be used by OpamClient).

dra27 added 2 commits June 6, 2024 09:39
The actual menu and depext handling part of OpamSolution.install_depexts
is now in OpamSolution.install_sys_packages, providing a lower-level way
of requesting the OS package manager to install some packages.
Copy link
Collaborator

@rjbou rjbou left a comment

Choose a reason for hiding this comment

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

Thanks!

@kit-ty-kate
Copy link
Member

Thanks!

@kit-ty-kate kit-ty-kate merged commit 89a43e2 into ocaml:master Jun 7, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants