From 314c64c409455ee49665ab2c7262b28965d17390 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Tue, 16 May 2023 19:13:00 +0200 Subject: [PATCH] grocy: mark as broken grocy is not yet compatible with PHP 8.1 --- nixos/modules/services/web-apps/grocy.nix | 4 +++- pkgs/servers/grocy/default.nix | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/grocy.nix b/nixos/modules/services/web-apps/grocy.nix index 3bcda3caedac..688367cafaf5 100644 --- a/nixos/modules/services/web-apps/grocy.nix +++ b/nixos/modules/services/web-apps/grocy.nix @@ -117,7 +117,9 @@ in { # PHP 8.0 is the only version which is supported/tested by upstream: # https://github.com/grocy/grocy/blob/v3.3.0/README.md#how-to-install - phpPackage = pkgs.php80; + # Compatibility with PHP 8.1 is available on their development branch: + # https://github.com/grocy/grocy/commit/38a4ad8ec480c29a1bff057b3482fd103b036848 + phpPackage = pkgs.php81; inherit (cfg.phpfpm) settings; diff --git a/pkgs/servers/grocy/default.nix b/pkgs/servers/grocy/default.nix index 360f5202e28a..bbae0f8f248f 100644 --- a/pkgs/servers/grocy/default.nix +++ b/pkgs/servers/grocy/default.nix @@ -36,5 +36,6 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ ma27 ]; description = "ERP beyond your fridge - grocy is a web-based self-hosted groceries & household management solution for your home"; homepage = "https://grocy.info/"; + broken = true; # Not compatible with PHP 8.1 }; }