ocaml / opam

opam is a source-based package manager. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
https://opam.ocaml.org
Other
1.21k stars 348 forks source link

API: Allow explicit installation of system packages #5994

Closed dra27 closed 4 weeks ago

dra27 commented 1 month ago

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).

kit-ty-kate commented 4 weeks ago

Thanks!