about summary refs log tree commit diff
path: root/third_party/git/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/default.nix')
-rw-r--r--third_party/git/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/git/default.nix b/third_party/git/default.nix
new file mode 100644
index 000000000000..fd847274e129
--- /dev/null
+++ b/third_party/git/default.nix
@@ -0,0 +1,16 @@
+# 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;
+}