0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/nextcloud: minor fixups

* Apply review comments.
* Default to PHP 8.2 for v26.
This commit is contained in:
Maximilian Bosch 2023-03-22 19:57:23 +01:00 committed by Raito Bezarius
parent 6a0b0a5de9
commit cbc539c19f
2 changed files with 3 additions and 4 deletions

View file

@ -204,7 +204,7 @@ in {
package = mkOption {
type = types.package;
description = lib.mdDoc "Which package to use for the Nextcloud instance.";
relatedPackages = [ "nextcloud24" "nextcloud25" ];
relatedPackages = [ "nextcloud24" "nextcloud25" "nextcloud26" ];
};
phpPackage = mkOption {
type = types.package;
@ -728,8 +728,8 @@ in {
);
services.nextcloud.phpPackage =
if versionOlder cfg.package.version "24" then pkgs.php80
else pkgs.php81;
if versionOlder cfg.package.version "26" then pkgs.php81
else pkgs.php82;
}
{ assertions = [