diff --git a/ops/nixos/monorepo-gerrit.nix b/ops/nixos/monorepo-gerrit.nix index 58fbb8d20..add4b18c7 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 c7ab47cd6..98373582b 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";