limesurvey: mark as broken
limesurvey is not yet compatible with PHP 8.1.
This commit is contained in:
parent
314c64c409
commit
bc48fa8f5e
|
@ -226,7 +226,7 @@ in
|
||||||
|
|
||||||
services.phpfpm.pools.limesurvey = {
|
services.phpfpm.pools.limesurvey = {
|
||||||
inherit user group;
|
inherit user group;
|
||||||
phpPackage = pkgs.php80;
|
phpPackage = pkgs.php81;
|
||||||
phpEnv.DBENGINE = "${cfg.database.dbEngine}";
|
phpEnv.DBENGINE = "${cfg.database.dbEngine}";
|
||||||
phpEnv.LIMESURVEY_CONFIG = "${limesurveyConfig}";
|
phpEnv.LIMESURVEY_CONFIG = "${limesurveyConfig}";
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -288,8 +288,8 @@ in
|
||||||
environment.LIMESURVEY_CONFIG = limesurveyConfig;
|
environment.LIMESURVEY_CONFIG = limesurveyConfig;
|
||||||
script = ''
|
script = ''
|
||||||
# update or install the database as required
|
# update or install the database as required
|
||||||
${pkgs.php80}/bin/php ${pkg}/share/limesurvey/application/commands/console.php updatedb || \
|
${pkgs.php81}/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 install admin password admin admin@example.com verbose
|
||||||
'';
|
'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = user;
|
User = user;
|
||||||
|
|
|
@ -37,5 +37,6 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://www.limesurvey.org";
|
homepage = "https://www.limesurvey.org";
|
||||||
maintainers = with maintainers; [offline];
|
maintainers = with maintainers; [offline];
|
||||||
platforms = with platforms; unix;
|
platforms = with platforms; unix;
|
||||||
|
broken = true; # Not compatible with PHP 8.1
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue