nixos/nextcloud: Upgrade to PHP 8.0
This commit is contained in:
@@ -157,7 +157,7 @@ in {
|
|||||||
};
|
};
|
||||||
phpPackage = mkOption {
|
phpPackage = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
relatedPackages = [ "php74" "php80" "php81" ];
|
relatedPackages = [ "php80" "php81" ];
|
||||||
defaultText = "pkgs.php";
|
defaultText = "pkgs.php";
|
||||||
description = ''
|
description = ''
|
||||||
PHP package to use for Nextcloud.
|
PHP package to use for Nextcloud.
|
||||||
@@ -632,7 +632,7 @@ in {
|
|||||||
services.nextcloud.datadir = mkOptionDefault config.services.nextcloud.home;
|
services.nextcloud.datadir = mkOptionDefault config.services.nextcloud.home;
|
||||||
|
|
||||||
services.nextcloud.phpPackage =
|
services.nextcloud.phpPackage =
|
||||||
if versionOlder cfg.package.version "21" then pkgs.php74
|
if versionOlder cfg.package.version "24" then pkgs.php80
|
||||||
# FIXME: Use PHP 8.1 with Nextcloud 24 and higher, once issues like this one are fixed:
|
# FIXME: Use PHP 8.1 with Nextcloud 24 and higher, once issues like this one are fixed:
|
||||||
#
|
#
|
||||||
# https://github.com/nextcloud/twofactor_totp/issues/1192
|
# https://github.com/nextcloud/twofactor_totp/issues/1192
|
||||||
|
|||||||
Reference in New Issue
Block a user