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

Initialize Scope/Toolchain/Context from Lock File #7707

Closed
rgrinberg opened this issue May 9, 2023 · 0 comments · Fixed by #8689
Closed

Initialize Scope/Toolchain/Context from Lock File #7707

rgrinberg opened this issue May 9, 2023 · 0 comments · Fixed by #8689

Comments

@rgrinberg
Copy link
Member

To be able to use binaries and libraries provided by packages built by dune we need to appropriately initialize:

  • The OCaml toolchain. It should be possible to discover the toolchain from the "ocaml" package.

  • The public scope. We should be able to initialize it from the OCAMLPATH exported by the packages in the lock file. This will require re-working findlib to make it usable with build paths.

  • The context should now be able to locate binaries using the set of installed packages.

@rgrinberg rgrinberg self-assigned this Sep 18, 2023
@rgrinberg rgrinberg linked a pull request Sep 20, 2023 that will close this issue
@tmattio tmattio added this to the Package Management MVP milestone Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants