mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 02:23:07 +03:00
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 = {
|
||||
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;
|
||||
|
@ -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
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user