Skip to content

Commit f7b37bf

Browse files
committed
nix/libgit2: Unpatch irrelevant fix for quick delivery
Since nix does not use this part of libgit2, we can keep it on the old version and avoid a [rebuild-nixos-tests] impediment.
1 parent 927bee3 commit f7b37bf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkgs/tools/package-management/nix/dependencies.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,12 @@ regular@{
3434
# only a stripped down version is built which takes a lot less resources to build
3535
requiredSystemFeatures = [ ];
3636
};
37+
38+
libgit2 = pkgs.libgit2.overrideAttrs (old: {
39+
# Drop the SSH buffer overflow patch to avoid rebuilding Nix
40+
patches = lib.filter (p: !lib.hasSuffix "fix-ssh-custom-heap-buffer-overflow.patch" (toString p)) (
41+
old.patches or [ ]
42+
);
43+
});
3744
};
3845
}

0 commit comments

Comments
 (0)