Repository navigation
fix(nix): apply opam patches in their declared order - #16994
Merged
Merged
Conversation
Read the top-level patches field in declaration order, supporting singleton/list values, line comments, and quoted delimiters. Leave the other metadata readers unchanged. Reject block comments and escaped patch names explicitly; patch filters remain unevaluated. Signed-off-by: Ali Caglayan <[email protected]>
Alizter
force-pushed
the
nix-opam-patch-order
branch
from
November 10, 2026 22:22
de59a2e to
6d09792
Compare
Alizter
marked this pull request as ready for review
November 10, 2026 23:12
Alizter
added a commit
that referenced
this pull request
Nov 25, 2026
Update both Nix and opam CI to OxCaml `5.4.0-ox9`, sharing compiler/repository pins and the upstream odoc port from ocaml/odoc#1520. Update the affected integration expectations and keep the OxCaml patch guards enabled. Formatting and unrelated CI cleanups remain separate follow-ups. Follows merged #16968, #16985, #16990, and #16994.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Apply opam patches in the order declared by the top-level
patchesfield rather than filename order. Handle singleton/list declarations, line comments, and quoted filenames without changing the other metadata readers. Unsupported block comments and escaped patch names fail explicitly; patch filters remain unevaluated.Split out of #16969.