git-branchless: fix fetchCargoVendor path

#387337 changed the directory layout of `cargoDeps` such that the
vendored dependencies are split by dependency source
(e.g., `source-git-0`, `source-git-1`, `source-registry-0`).
This commit is contained in:
Tom Hunze
2026-03-24 14:24:32 +01:00
parent 0a4319250d
commit bdcd45a03a
+1 -1
View File
@@ -30,7 +30,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
# - https://github.com/facebook/sapling/commit/9e27acb84605079bf4e305afb637a4d6801831ac
postPatch = ''
(
cd ../git-branchless-*-vendor/esl01-indexedlog-*/
cd $cargoDepsCopy/*/esl01-indexedlog-*/
patch -p1 < ${./fix-esl01-indexedlog-for-rust-1_89.patch}
)
'';