about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/nixos/monorepo-gerrit.nix2
-rw-r--r--third_party/gerrit/default.nix2
2 files changed, 3 insertions, 1 deletions
diff --git a/ops/nixos/monorepo-gerrit.nix b/ops/nixos/monorepo-gerrit.nix
index 58fbb8d206ac..add4b18c7dbb 100644
--- a/ops/nixos/monorepo-gerrit.nix
+++ b/ops/nixos/monorepo-gerrit.nix
@@ -22,6 +22,8 @@ in {
       owners-autoassign
     ];
 
+    package = config.depot.third_party.gerrit;
+
     settings = {
       core.packedGitLimit = "100m";
       log.jsonLogging = true;
diff --git a/third_party/gerrit/default.nix b/third_party/gerrit/default.nix
index c7ab47cd66be..98373582b049 100644
--- a/third_party/gerrit/default.nix
+++ b/third_party/gerrit/default.nix
@@ -31,7 +31,7 @@ let
   version = "3.2.1";
 in
 pkgs.buildBazelPackage {
-  name = "gerrit";
+  name = "gerrit-${version}";
 
   src = pkgs.fetchgit {
     url = "https://gerrit.googlesource.com/gerrit";