From 0226ed488666bfbc23a0feb354aeb2315f254d46 Mon Sep 17 00:00:00 2001 From: Tobias Happ Date: Wed, 21 Dec 2022 23:12:18 +0100 Subject: [PATCH] supabase-cli: add updateScript --- pkgs/development/tools/supabase-cli/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/tools/supabase-cli/default.nix b/pkgs/development/tools/supabase-cli/default.nix index 39ec1d018d37..f573ef0b82f8 100644 --- a/pkgs/development/tools/supabase-cli/default.nix +++ b/pkgs/development/tools/supabase-cli/default.nix @@ -2,6 +2,7 @@ , buildGoModule , fetchFromGitHub , installShellFiles +, nix-update-script }: buildGoModule rec { @@ -33,6 +34,10 @@ buildGoModule rec { --zsh <($out/bin/supabase completion zsh) ''; + passthru.updateScript = nix-update-script { + attrPath = "supabase-cli"; + }; + meta = with lib; { description = "A CLI for interacting with supabase"; homepage = "https://github.com/supabase/cli";