diff --git a/pkgs/applications/editors/vim/plugins/updater.nix b/pkgs/applications/editors/vim/plugins/updater.nix index 41413a5b4c66..6ea8e60448d5 100644 --- a/pkgs/applications/editors/vim/plugins/updater.nix +++ b/pkgs/applications/editors/vim/plugins/updater.nix @@ -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"; }