about summary refs log tree commit diff
path: root/third_party/gerrit-queue/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-09T10·53+0300
committertazjin <mail@tazj.in>2021-12-09T11·16+0000
commitafa2d08fe7ba4bf62d32735c505047f40747a60f (patch)
tree4e56764650cd0d65ae5243cea88d542634d51939 /third_party/gerrit-queue/default.nix
parent417a1ba9ebcc8b6b43f1a38800f45294ab723c74 (diff)
feat(3p/gerrit-queue): Patch to use Gerrit 'Autosubmit' label r/3168
... instead of a hashtag in Gerrit.

Might be easier to review here:

https://github.com/tvlfyi/gerrit-queue/commit/24f5a642af3aa1627bbff977f0a101907a02c69f

Change-Id: I1ae8d4607f7cb858135f88411c82e1a353b28105
Diffstat (limited to 'third_party/gerrit-queue/default.nix')
-rw-r--r--third_party/gerrit-queue/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/gerrit-queue/default.nix b/third_party/gerrit-queue/default.nix
index f358a063ec13..169fffd417df 100644
--- a/third_party/gerrit-queue/default.nix
+++ b/third_party/gerrit-queue/default.nix
@@ -12,6 +12,12 @@ pkgs.buildGoModule {
     hash = "sha256:1x0g6fd5hymf6a8wxj1b1xi4x1hmwpnx4f2cdidgvsyd77v902c1";
   };
 
+  # Add TVL patches to bend gerrit-queue functionality to our will.
+  patches = [
+    # Use 'Autosubmit' label instead of Gerrit hashtags.
+    ./0001-gerrit-Use-a-Gerrit-label-instead-of-hashtag-for-aut.patch
+  ];
+
   # gerrit-queue embeds static assets which need to be generated
   nativeBuildInputs = [ pkgs.statik ];
   preBuild = ''