Merge pull request #174145 from alarsyo/nextcloud24-php8

nixos/nextcloud: use PHP 8 avoiding broken 2FA app
This commit is contained in:
Maximilian Bosch 2022-05-23 20:23:11 +02:00 committed by GitHub
commit 2b7e06e0b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -633,8 +633,13 @@ in {
services.nextcloud.phpPackage =
if versionOlder cfg.package.version "21" then pkgs.php74
else if versionOlder cfg.package.version "24" then pkgs.php80
else pkgs.php81;
# 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
#
# else if versionOlder cfg.package.version "24" then pkgs.php80
# else pkgs.php81;
else pkgs.php80;
}
{ assertions = [