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 '';