about summary refs log tree commit diff
path: root/third_party/gerrit-queue/default.nix
diff options
context:
space:
mode:
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 f358a063ec..169fffd417 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 = ''