about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/services/gerrit/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/services/gerrit/default.nix b/modules/services/gerrit/default.nix
index 46a8bf6..ab35533 100644
--- a/modules/services/gerrit/default.nix
+++ b/modules/services/gerrit/default.nix
@@ -26,6 +26,9 @@ in {
 
       plugins = [ oauth ];
 
+      # The default JDK is incompatible with gerrit.
+      jvmPackage = pkgs.openjdk11_headless;
+
       settings = {
         core.packedGitLimit = "100m";
         log.jsonLogging = true;