supabase-cli: add updateScript
This commit is contained in:
parent
5d6fa6fdeb
commit
0226ed4886
1 changed files with 5 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue