lol

Merge pull request #232276 from LeSuisse/broken-php80-packages

grocy, limesurvey: mark as broken due to lack of PHP 8.1 compatibility

authored by

Maximilian Bosch and committed by
GitHub
c0bbecef cab4887d

+8 -4
+3 -1
nixos/modules/services/web-apps/grocy.nix
··· 117 117 118 118 # PHP 8.0 is the only version which is supported/tested by upstream: 119 119 # https://github.com/grocy/grocy/blob/v3.3.0/README.md#how-to-install 120 - phpPackage = pkgs.php80; 120 + # Compatibility with PHP 8.1 is available on their development branch: 121 + # https://github.com/grocy/grocy/commit/38a4ad8ec480c29a1bff057b3482fd103b036848 122 + phpPackage = pkgs.php81; 121 123 122 124 inherit (cfg.phpfpm) settings; 123 125
+3 -3
nixos/modules/services/web-apps/limesurvey.nix
··· 226 226 227 227 services.phpfpm.pools.limesurvey = { 228 228 inherit user group; 229 - phpPackage = pkgs.php80; 229 + phpPackage = pkgs.php81; 230 230 phpEnv.DBENGINE = "${cfg.database.dbEngine}"; 231 231 phpEnv.LIMESURVEY_CONFIG = "${limesurveyConfig}"; 232 232 settings = { ··· 288 288 environment.LIMESURVEY_CONFIG = limesurveyConfig; 289 289 script = '' 290 290 # update or install the database as required 291 - ${pkgs.php80}/bin/php ${pkg}/share/limesurvey/application/commands/console.php updatedb || \ 292 - ${pkgs.php80}/bin/php ${pkg}/share/limesurvey/application/commands/console.php install admin password admin admin@example.com verbose 291 + ${pkgs.php81}/bin/php ${pkg}/share/limesurvey/application/commands/console.php updatedb || \ 292 + ${pkgs.php81}/bin/php ${pkg}/share/limesurvey/application/commands/console.php install admin password admin admin@example.com verbose 293 293 ''; 294 294 serviceConfig = { 295 295 User = user;
+1
pkgs/servers/grocy/default.nix
··· 36 36 maintainers = with maintainers; [ ma27 ]; 37 37 description = "ERP beyond your fridge - grocy is a web-based self-hosted groceries & household management solution for your home"; 38 38 homepage = "https://grocy.info/"; 39 + broken = true; # Not compatible with PHP 8.1 39 40 }; 40 41 }
+1
pkgs/servers/limesurvey/default.nix
··· 37 37 homepage = "https://www.limesurvey.org"; 38 38 maintainers = with maintainers; [offline]; 39 39 platforms = with platforms; unix; 40 + broken = true; # Not compatible with PHP 8.1 40 41 }; 41 42 }