From 9ba29b3f8c8c04283fe4658ea1027d5dc83fad60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 4 Nov 2023 19:49:42 +0100 Subject: [PATCH] backup: use phpPackage defined in mediawiki phpfpm pool --- modules/nixos-wiki/backup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos-wiki/backup.nix b/modules/nixos-wiki/backup.nix index 959a860..931a59d 100644 --- a/modules/nixos-wiki/backup.nix +++ b/modules/nixos-wiki/backup.nix @@ -8,7 +8,7 @@ let preferLocalBuild = true; } '' mkdir -p $out/bin - makeWrapper ${pkgs.php}/bin/php $out/bin/mediawiki-maintenance \ + makeWrapper ${config.services.phpfpm.pools.mediawiki.phpPackage}/bin/php $out/bin/mediawiki-maintenance \ --set MEDIAWIKI_CONFIG ${config.services.phpfpm.pools.mediawiki.phpEnv.MEDIAWIKI_CONFIG} \ --add-flags ${config.services.mediawiki.finalPackage}/share/mediawiki/maintenance/run.php '';