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
, 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";