vimPluginsUpdater: run using @r-ryantm (#364758)

This commit is contained in:
Gaétan Lepage 2024-12-14 15:31:30 +01:00 committed by GitHub
commit ecdcbe6fee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,11 +1,13 @@
{
buildPythonApplication,
nix,
makeWrapper,
python3Packages,
lib,
buildPythonApplication,
makeWrapper,
nix,
nix-prefetch-git,
nurl,
python3Packages,
vimPluginsUpdater,
writeShellScript,
# optional
neovim-unwrapped,
@ -48,5 +50,10 @@ buildPythonApplication {
export PYTHONPATH=pkgs/applications/editors/vim/plugins:maintainers/scripts/pluginupdate-py:$PYTHONPATH
'';
passthru.updateScript = writeShellScript "updateScript" ''
# don't saturate the update bot connection
${lib.getExe vimPluginsUpdater} --proc 2 update
'';
meta.mainProgram = "vim-plugins-updater";
}