{ pkgs, config, ... }: {
programs.git.package = pkgs.gitFull.overrideAttrs (old: {
patches = (old.patches or []) ++ [ ./main.patch ];
postInstallCheck = (old.postInstallCheck or "") + ''
${pkgs.python3}/bin/python3 ${./test.py} "$out/bin/git"
'';
});
cachix_packages = [
config.programs.git.package
];
}