From 902251dec70d3d7b597096865d9789b62e72cc14 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Thu, 8 Jan 2026 08:56:23 +0100 Subject: [PATCH] git: Apply patch to fix uninitialised memory & t8020 test on big-endian --- pkgs/by-name/gi/git/package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/gi/git/package.nix b/pkgs/by-name/gi/git/package.nix index fd9a5f2f5179..a1bc5aca526c 100644 --- a/pkgs/by-name/gi/git/package.nix +++ b/pkgs/by-name/gi/git/package.nix @@ -130,7 +130,12 @@ stdenv.mkDerivation (finalAttrs: { url = "https://lore.kernel.org/git/20251201031040.1120091-1-brianmlyles@gmail.com/raw"; hash = "sha256-vvhbvg74OIMzfksHiErSnjOZ+W0M/T9J8GOQ4E4wKbU="; }) - + # Fixes t8020 test on big-endian + (fetchurl { + name = "last-modified-fix-bug-caused-by-inproper-initialized-memory.patch"; + url = "https://lore.kernel.org/git/20251128-toon-big-endian-ci-v1-1-80da0f629c1e@iotcl.com/raw"; + hash = "sha256-WdewOwD7hMhnahhUUEYAlM58tT3MkxUlBa3n8IwrESU="; + }) ] ++ lib.optionals withSsh [ # Hard-code the ssh executable to ${pkgs.openssh}/bin/ssh instead of