fix(3p/gerrit): Fix Gerrit derivation name and module configuration
Without these changes, the NixOS module isn't able to use the new Gerrit derivation. These changes are already deployed as I needed to make them to get Gerrit back up. Change-Id: Iad3aa6158789a014134fddccd40b508b81486100 Reviewed-on: https://cl.tvl.fyi/c/depot/+/301 Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
parent
158d20c128
commit
a4b3f9af93
2 changed files with 3 additions and 1 deletions
|
@ -22,6 +22,8 @@ in {
|
||||||
owners-autoassign
|
owners-autoassign
|
||||||
];
|
];
|
||||||
|
|
||||||
|
package = config.depot.third_party.gerrit;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
core.packedGitLimit = "100m";
|
core.packedGitLimit = "100m";
|
||||||
log.jsonLogging = true;
|
log.jsonLogging = true;
|
||||||
|
|
2
third_party/gerrit/default.nix
vendored
2
third_party/gerrit/default.nix
vendored
|
@ -31,7 +31,7 @@ let
|
||||||
version = "3.2.1";
|
version = "3.2.1";
|
||||||
in
|
in
|
||||||
pkgs.buildBazelPackage {
|
pkgs.buildBazelPackage {
|
||||||
name = "gerrit";
|
name = "gerrit-${version}";
|
||||||
|
|
||||||
src = pkgs.fetchgit {
|
src = pkgs.fetchgit {
|
||||||
url = "https://gerrit.googlesource.com/gerrit";
|
url = "https://gerrit.googlesource.com/gerrit";
|
||||||
|
|
Loading…
Reference in a new issue