From bc48fa8f5e3c09b1c401b21388f2f429df1ad536 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Tue, 16 May 2023 19:18:22 +0200 Subject: [PATCH] limesurvey: mark as broken limesurvey is not yet compatible with PHP 8.1. --- nixos/modules/services/web-apps/limesurvey.nix | 6 +++--- pkgs/servers/limesurvey/default.nix | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/web-apps/limesurvey.nix b/nixos/modules/services/web-apps/limesurvey.nix index 8e6b39cbdebc..920e6928ef5c 100644 --- a/nixos/modules/services/web-apps/limesurvey.nix +++ b/nixos/modules/services/web-apps/limesurvey.nix @@ -226,7 +226,7 @@ in services.phpfpm.pools.limesurvey = { inherit user group; - phpPackage = pkgs.php80; + phpPackage = pkgs.php81; phpEnv.DBENGINE = "${cfg.database.dbEngine}"; phpEnv.LIMESURVEY_CONFIG = "${limesurveyConfig}"; settings = { @@ -288,8 +288,8 @@ in environment.LIMESURVEY_CONFIG = limesurveyConfig; script = '' # update or install the database as required - ${pkgs.php80}/bin/php ${pkg}/share/limesurvey/application/commands/console.php updatedb || \ - ${pkgs.php80}/bin/php ${pkg}/share/limesurvey/application/commands/console.php install admin password admin admin@example.com verbose + ${pkgs.php81}/bin/php ${pkg}/share/limesurvey/application/commands/console.php updatedb || \ + ${pkgs.php81}/bin/php ${pkg}/share/limesurvey/application/commands/console.php install admin password admin admin@example.com verbose ''; serviceConfig = { User = user; diff --git a/pkgs/servers/limesurvey/default.nix b/pkgs/servers/limesurvey/default.nix index ce75e8de8b5a..b9eb173bb7d3 100644 --- a/pkgs/servers/limesurvey/default.nix +++ b/pkgs/servers/limesurvey/default.nix @@ -37,5 +37,6 @@ stdenv.mkDerivation rec { homepage = "https://www.limesurvey.org"; maintainers = with maintainers; [offline]; platforms = with platforms; unix; + broken = true; # Not compatible with PHP 8.1 }; }