supabase-cli: add updateScript

This commit is contained in:
Tobias Happ 2022-12-21 23:12:18 +01:00
parent 5d6fa6fdeb
commit 0226ed4886

View file

@ -2,6 +2,7 @@
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, installShellFiles , installShellFiles
, nix-update-script
}: }:
buildGoModule rec { buildGoModule rec {
@ -33,6 +34,10 @@ buildGoModule rec {
--zsh <($out/bin/supabase completion zsh) --zsh <($out/bin/supabase completion zsh)
''; '';
passthru.updateScript = nix-update-script {
attrPath = "supabase-cli";
};
meta = with lib; { meta = with lib; {
description = "A CLI for interacting with supabase"; description = "A CLI for interacting with supabase";
homepage = "https://github.com/supabase/cli"; homepage = "https://github.com/supabase/cli";