about summary refs log tree commit diff
path: root/ops/besadii/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-06-13T04·59+0100
committerVincent Ambo <mail@tazj.in>2020-06-13T05·03+0100
commitb094e65bfc431eaabcf6bae4446790e6a4ce94bf (patch)
tree8d5ec7d2065af6ca89ea262c9ebbc974dd8bcd02 /ops/besadii/default.nix
parent8735c63e97409f92905f07fcd54dbc7ca3394374 (diff)
feat(besadii): Adapt into a Gerrit ref-updated-hook r/931
Besadii was previously invoked as a git post-update hook, but Gerrit
does not use these hooks and instead has its own concept of hooks.

This change adapts besadii to be compatible with the way Gerrit hooks
are invoked (arguments being passed as flags, rather than via stdin).

Change-Id: I487b3a9e15810583bc5442fdc024ee2771c580cb
Diffstat (limited to 'ops/besadii/default.nix')
-rw-r--r--ops/besadii/default.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/ops/besadii/default.nix b/ops/besadii/default.nix
index 31f2705d7327..fc7b2286c7ee 100644
--- a/ops/besadii/default.nix
+++ b/ops/besadii/default.nix
@@ -5,8 +5,4 @@
 depot.buildGo.program {
   name = "besadii";
   srcs = [ ./main.go ];
-
-  x_defs = {
-    "main.gitBin" = "${depot.third_party.git}/bin/git";
-  };
 }