icingaweb2: pin php version to 8.3

This commit is contained in:
Piotr Kwiecinski
2025-03-29 19:25:44 +01:00
parent 3fb911f979
commit 15d0312a8a
2 changed files with 3 additions and 3 deletions

View File

@@ -192,7 +192,7 @@ in
)
);
};
phpPackage = pkgs.php.withExtensions ({ enabled, all }: [ all.imagick ] ++ enabled);
phpPackage = pkgs.php83.withExtensions ({ enabled, all }: [ all.imagick ] ++ enabled);
phpOptions = ''
date.timezone = "${cfg.timezone}"
'';

View File

@@ -3,7 +3,7 @@
lib,
fetchFromGitHub,
makeWrapper,
php,
php83,
nixosTests,
}:
@@ -25,7 +25,7 @@ stdenvNoCC.mkDerivation rec {
cp -ra application bin etc library modules public $out
cp -ra doc $out/share
wrapProgram $out/bin/icingacli --prefix PATH : "${lib.makeBinPath [ php ]}"
wrapProgram $out/bin/icingacli --prefix PATH : "${lib.makeBinPath [ php83 ]}"
'';
passthru.tests = { inherit (nixosTests) icingaweb2; };