Commit bc48fa8f authored by Thomas Gerbet's avatar Thomas Gerbet
Browse files

limesurvey: mark as broken

limesurvey is not yet compatible with PHP 8.1.
parent 314c64c4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
+1 −0
Original line number Diff line number Diff line
@@ -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
  };
}