Unverified Commit bdcd45a0 authored by Tom Hunze's avatar Tom Hunze
Browse files

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`).
parent 0a431925
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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}
    )
  '';