3
0
Fork 0
forked from mirrors/nixpkgs
ajs124 2022-12-13 18:43:14 +01:00 committed by pennae
parent 46d2d624ae
commit f98e6d6290
2 changed files with 4 additions and 4 deletions

View file

@ -24,8 +24,8 @@ in
services.unifi.jrePackage = mkOption {
type = types.package;
default = pkgs.jre8;
defaultText = literalExpression "pkgs.jre8";
default = if (lib.versionAtLeast (lib.getVersion cfg.unifiPackage) "7.3") then pkgs.jdk11 else pkgs.jre8;
defaultText = literalExpression ''if (lib.versionAtLeast (lib.getVersion cfg.unifiPackage) "7.3" then pkgs.jdk11 else pkgs.jre8'';
description = lib.mdDoc ''
The JRE package to use. Check the release notes to ensure it is supported.
'';

View file

@ -66,7 +66,7 @@ in rec {
};
unifi7 = generic {
version = "7.2.95";
sha256 = "sha256-lZrOB8Xrl2/LvDJhtGsQ7Cn5YJ+/hnHuq8ODlOg3R6s=";
version = "7.3.76";
sha256 = "sha256-/g/gCAhCT+8eyYDiIkF8WnTIWgEzneiAYHXj1pYj/dA=";
};
}