tanka: Update ldflags

See 8cc1e0aee9
This commit is contained in:
Bobby Rong 2022-10-10 20:13:42 +08:00 committed by GitHub
parent 359b5bd171
commit f0f5aa601e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ buildGoModule rec {
subPackages = [ "cmd/tk" ];
ldflags = [ "-s" "-w" "-extldflags '-static'" "-X github.com/grafana/tanka/pkg/tanka.CURRENT_VERSION=v${version}" ];
ldflags = [ "-s" "-w" "-extldflags '-static'" "-X github.com/grafana/tanka/pkg/tanka.CurrentVersion=v${version}" ];
nativeBuildInputs = [ installShellFiles ];