git: fix darwin crashes when dealing with unicode filenames

This commit is contained in:
Ihar Hrachyshka
2026-07-09 21:04:28 -04:00
parent 5029ec8c4b
commit 8faec7a146

View File

@@ -133,6 +133,12 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://lore.kernel.org/git/20260504101429.340123-1-joerg@thalheim.io/raw";
hash = "sha256-44EPfEJ39LjPWjqjFb52EKNaJGzYxZzJaJOis8QnazU=";
})
# Fix fortify darwin crashes when dealing with unicode filenames.
(fetchurl {
name = "darwin-unicode-filename-fix.patch";
url = "https://lore.kernel.org/git/20260704233724.16928-1-ihar.hrachyshka@gmail.com/raw";
hash = "sha256-lpGz3nFKQvFDtW2TtQLx/684ECJVBLGPGqip0XEtOdU=";
})
]
++ lib.optionals withSsh [
# Hard-code the ssh executable to ${pkgs.openssh}/bin/ssh instead of