git-branchless: fix tests with Git > 2.44.0

This commit is contained in:
Minijackson 2024-03-23 09:34:04 +01:00
parent a986eec15c
commit 91753acc4f
No known key found for this signature in database
GPG key ID: FEA888C9F5D64F62

View file

@ -1,5 +1,6 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, git , git
, libiconv , libiconv
, ncurses , ncurses
@ -23,6 +24,19 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-ev56NzrEF7xm3WmR2a0pHPs69Lvmb4He7+kIBYiJjKY="; hash = "sha256-ev56NzrEF7xm3WmR2a0pHPs69Lvmb4He7+kIBYiJjKY=";
}; };
patches = [
# Fix tests with Git 2.44.0+
(fetchpatch {
url = "https://github.com/arxanas/git-branchless/pull/1245.patch";
hash = "sha256-gBm0A478Uhg9IQVLQppvIeTa8s1yHUMddxiUbpHUvGw=";
})
# Fix tests with Git 2.44.0+
(fetchpatch {
url = "https://github.com/arxanas/git-branchless/pull/1161.patch";
hash = "sha256-KHobEIXhlDar8CvIVUi4I695jcJZXgGRhU86b99x86Y=";
})
];
cargoHash = "sha256-Ppw5TN/6zMNxFAx90Q9hQ7RdGxV+TT8UlOm68ldK8oc="; cargoHash = "sha256-Ppw5TN/6zMNxFAx90Q9hQ7RdGxV+TT8UlOm68ldK8oc=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];