-
Notifications
You must be signed in to change notification settings - Fork 365
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
depext: is there support for passing options to the OS package manager? #4343
Comments
Not yet - this is a feature we're looking at for opam 2.2 next year. |
At the moment, you can emulate this with |
If it's purely for local use, as opposed to having it in the repository as suggested by @dra27, you can always let opam pause instead of running the package manager itself, run the commands, and then let it continue. Seems quite ugly, but wouldn't it actually work to have the following ?
opam is pretty lax on what is in the list to the left IIRC |
An update, following review of issues yesterday: @AltGr's suggested workaround definitely won't work now with the integrated depext in opam 2.1, since it will attempt to detect the presence of a package called Other package managers either have, or have recently added, features like this, so this is something we should come to. A note at this stage to remember that however this is done it creates a dependency on the setting, so in order to pass a |
Hi! I have a use case where to build an OCaml package depending on an foreign library, I need to pass a CLI option to the Homebrew package manager:
Is it possible to do using
depext
in opam? Thanks in advance.The text was updated successfully, but these errors were encountered: