forked from mirrors/nixpkgs
unifi7: 7.2.95 -> 7.3.76
https://community.ui.com/releases/UniFi-Network-Application-7-3-76/85c75fc7-3e0f-4e99-aa90-7068af4f1141
This commit is contained in:
parent
46d2d624ae
commit
f98e6d6290
|
@ -24,8 +24,8 @@ in
|
||||||
|
|
||||||
services.unifi.jrePackage = mkOption {
|
services.unifi.jrePackage = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = pkgs.jre8;
|
default = if (lib.versionAtLeast (lib.getVersion cfg.unifiPackage) "7.3") then pkgs.jdk11 else pkgs.jre8;
|
||||||
defaultText = literalExpression "pkgs.jre8";
|
defaultText = literalExpression ''if (lib.versionAtLeast (lib.getVersion cfg.unifiPackage) "7.3" then pkgs.jdk11 else pkgs.jre8'';
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
The JRE package to use. Check the release notes to ensure it is supported.
|
The JRE package to use. Check the release notes to ensure it is supported.
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -66,7 +66,7 @@ in rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
unifi7 = generic {
|
unifi7 = generic {
|
||||||
version = "7.2.95";
|
version = "7.3.76";
|
||||||
sha256 = "sha256-lZrOB8Xrl2/LvDJhtGsQ7Cn5YJ+/hnHuq8ODlOg3R6s=";
|
sha256 = "sha256-/g/gCAhCT+8eyYDiIkF8WnTIWgEzneiAYHXj1pYj/dA=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue