From bdcd45a03ae3c137d9e010ea5c6fde78bd37bf89 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Tue, 24 Mar 2026 14:24:32 +0100 Subject: [PATCH] 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`). --- pkgs/by-name/gi/git-branchless/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/gi/git-branchless/package.nix b/pkgs/by-name/gi/git-branchless/package.nix index 5f0b860f9ff1..3d3e71250e5c 100644 --- a/pkgs/by-name/gi/git-branchless/package.nix +++ b/pkgs/by-name/gi/git-branchless/package.nix @@ -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} ) '';