From f0f5aa601e99c9415c57ce67ca5e3351d0e38d3c Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Mon, 10 Oct 2022 20:13:42 +0800 Subject: [PATCH] tanka: Update ldflags See https://github.com/grafana/tanka/commit/8cc1e0aee9e8f79673fc431638e9aa833cb010c1 --- pkgs/applications/networking/cluster/tanka/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/cluster/tanka/default.nix b/pkgs/applications/networking/cluster/tanka/default.nix index 428f86e6abd1..010527121e57 100644 --- a/pkgs/applications/networking/cluster/tanka/default.nix +++ b/pkgs/applications/networking/cluster/tanka/default.nix @@ -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 ];