From a49f4cf7f51b6767d7ecd6dcc6c5bf3f10eb128f Mon Sep 17 00:00:00 2001 From: Tomodachi94 Date: Thu, 7 Nov 2024 05:55:51 +0000 Subject: [PATCH] gradle-completion: add update script --- pkgs/by-name/gr/gradle-completion/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/gr/gradle-completion/package.nix b/pkgs/by-name/gr/gradle-completion/package.nix index f43f7c2c847d..66df62b76538 100644 --- a/pkgs/by-name/gr/gradle-completion/package.nix +++ b/pkgs/by-name/gr/gradle-completion/package.nix @@ -3,6 +3,7 @@ stdenvNoCC, fetchFromGitHub, installShellFiles, + gitUpdater, }: stdenvNoCC.mkDerivation (finalAttrs: { @@ -38,6 +39,10 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; + passthru.updateScript = gitUpdater { + rev-prefix = "v"; + }; + meta = { description = "Gradle tab completion for bash and zsh"; homepage = "https://github.com/gradle/gradle-completion";