Skip to content

Commit

Permalink
nixos/engelsystem: pin php at 8.1
Browse files Browse the repository at this point in the history
Upstream supports php 8.0/8.1 for the 3.3.0 release. The upgrade to 8.2
caused a type mismatch in carbon.

> PHP message: Exception: Code: 0, Message: Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /nix/store/2prnw9qya9kaks2rwvd6fkrz0c7l5ygd-engelsystem-3.3.0/share/engelsystem/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 98, File: vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:928
  • Loading branch information
mweinelt committed Jul 18, 2023
1 parent 446b09f commit c8a7edc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/web-apps/engelsystem.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ in {
'';

services.phpfpm.pools.engelsystem = {
phpPackage = pkgs.php81;
user = "engelsystem";
settings = {
"listen.owner" = config.services.nginx.user;
Expand Down

0 comments on commit c8a7edc

Please sign in to comment.