about summary refs log tree commit diff
path: root/modules/services/gerrit
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-26 17:58:58 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-26 17:58:58 -0700
commit2693e9ad45f3382eea57253b91221d121257e00e (patch)
tree404fdff0b458952d9c9f7aebf2f1f4ede9ae9d45 /modules/services/gerrit
parentfix(gerrit): install the plugin for oauth (diff)
downloadworld-2693e9ad45f3382eea57253b91221d121257e00e.tar.gz
fix(gerrit): use a compatible JDK
Change-Id: I3fadf8a3a9a81c7966b4c048ace1ae259f0e3668
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;