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} ) '';