tvl-depot/third_party/git/default.nix
Vincent Ambo 93cc05d363 feat(third_party/git): Add derivation to build git
This overrides the upstream derivation to:

* use local sources
* build `git send-email`

It also calls autoreconf before building because files that are
included in the git distribution tarball (which the normal derivation
uses) are missing from source.
2020-01-12 01:55:23 +00:00

16 lines
350 B
Nix

# Use the upstream git derivation (there's a lot of stuff happening in
# there!) and just override the source:
{ pkgs, ... }:
with pkgs.third_party;
(originals.git.overrideAttrs(_: {
version = "2.23.0";
src = ./.;
doInstallCheck = false;
preConfigure = ''
${autoconf}/bin/autoreconf -i
'';
})).override {
sendEmailSupport = true;
}