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

pkg: duplicate package names in lockfile depends field of packages with conjunctions in their dependency constraints #10542

Closed
gridbugs opened this issue May 17, 2024 · 1 comment · Fixed by #10544
Assignees

Comments

@gridbugs
Copy link
Collaborator

gridbugs commented May 17, 2024

Running dune pkg lock creates a lockfile whose depends field contains duplicate entries for packages with conjunctions in their dependency constraints, e.g.

depends: [
 "foo" {  >= "0.0.0" & < "1.0.0" }
]

...would translate into a lockfile with:

(depends foo foo)

Repro: #10543

@gridbugs
Copy link
Collaborator Author

Fixed by #10544

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.

1 participant