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

Vendor directory fixes #265

Merged
merged 3 commits into from
Oct 22, 2020
Merged

Vendor directory fixes #265

merged 3 commits into from
Oct 22, 2020

Conversation

Gbury
Copy link
Collaborator

@Gbury Gbury commented Oct 21, 2020

Follow-up to #260
For now, there are two main changes:

  • commit the opam file generated from the template
  • add the unix dependency for the unvendor.ml script

The installation of a pinned version now fails at dune subst, with the error:

Error: vendor/cmdliner: No such file or directory

However I don't know enough about dune to know how to fix that, ^^

We need the ocaml lsp server to contain its own vendored directory. So
that we only deleted those directories at build time.

Signed-off-by: Rudi Grinberg <[email protected]>
@rgrinberg
Copy link
Member

@Gbury give it a try now.

@rgrinberg rgrinberg merged commit 05fbdda into ocaml:master Oct 22, 2020
@Gbury
Copy link
Collaborator Author

Gbury commented Oct 22, 2020

@rgrinberg I'm still getting the same error:

Error: ocaml-lsp-server/vendor/cmdliner: No such file or directory

It looks like the unvendor script is correctly removing the vendored directories, but dune subst tries and either fetch info or modify some things in these directories, and fail because they do not exist anymore.

@rgrinberg
Copy link
Member

rgrinberg commented Oct 22, 2020 via email

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.

2 participants