supabase-cli: fix version

This commit is contained in:
figsoda 2023-04-25 10:36:40 -04:00
parent e6b4a6b6e5
commit 7c222dcc92

View file

@ -18,7 +18,11 @@ buildGoModule rec {
vendorSha256 = "sha256-j2iEeAn+4Tn3h8lVKoaYE+6W4R/q+JaAWXxHllZGLNs=";
ldflags = [ "-s" "-w" "-X" "github.com/supabase/cli/cmd.version=${version}" ];
ldflags = [
"-s"
"-w"
"-X=github.com/supabase/cli/internal/utils.Version=${version}"
];
doCheck = false; # tests are trying to connect to localhost