Skip to content
Discussion options

You must be logged in to vote

Confirmed and fixed in PR #1196: #1196

The root cause was the combination described here: patch snapshots the already-patched linked package, while patch-commit treated the resulting incremental diff as a replacement patch and generated a new destination path.

The fix now:

  • reuses the existing patchedDependencies path exactly;
  • composes the existing patch with the new incremental edits, so both apply from pristine package contents;
  • restores the previous patch/declaration and keeps the edit directory if relinking fails;
  • adds regression coverage for a custom existing patch path plus a clean reinstall.

The focused patch suite and the full Rust test/clippy/format checks pass.

AI-assisted — To…

Replies: 2 comments

Comment options

jdx
Jul 31, 2026 — with coder-jdx
Maintainer

You must be logged in to vote
0 replies
Answer selected by mwolson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants