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

Make package manager configurable (particularly on archlinux) #5709

Open
Gbury opened this issue Oct 23, 2023 · 0 comments
Open

Make package manager configurable (particularly on archlinux) #5709

Gbury opened this issue Oct 23, 2023 · 0 comments

Comments

@Gbury
Copy link

Gbury commented Oct 23, 2023

(This is a feature request)

Would it be possible to make it so that one can configure the system package manager that opam uses for depexts ?

Context: On Archlinux, it happens that a few packages are not in the official repositories, but on a user-managed database of packages called the AUR. Although pacman -- the official package manager of archlinux -- cannot install packages from the AUR, there are a lot of AUR helpers/pacman wrappers which can replace pacman and allow users to directly install packages from the AUR. Using an AUR helper/pacman wrapper is extremely common among archlinux users, at least to my knowledge, especially since most of them actually expand on pacman's CLI. Therefore, it might be useful to allow users to configure the binary/package manager used by opam (at their depends if the new binary does not have the same CLI as the original package manager) so that for instance, depexts can be installed from the AUR without manual intervention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants