From 359b5bd17166f670ad3073106c7f5cd724f886c7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 30 Sep 2022 00:28:34 +0000 Subject: [PATCH 1/2] tanka: 0.22.1 -> 0.23.1 --- pkgs/applications/networking/cluster/tanka/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/tanka/default.nix b/pkgs/applications/networking/cluster/tanka/default.nix index c9a5d7c60cee..428f86e6abd1 100644 --- a/pkgs/applications/networking/cluster/tanka/default.nix +++ b/pkgs/applications/networking/cluster/tanka/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "tanka"; - version = "0.22.1"; + version = "0.23.1"; src = fetchFromGitHub { owner = "grafana"; repo = pname; rev = "v${version}"; - sha256 = "sha256-MMQv3/Ft6/FUueGEXGqYWAYy4zc2R6LASbh2x7eJNdQ="; + sha256 = "sha256-exPFlcbku51Bs/YISRyjl8iwLYRVS9ltRQPpd/QpnWk="; }; - vendorSha256 = "sha256-QwtcWzJbusa8BxtG5xmGUgqG0qCMSpkzbmes/x3lnWc="; + vendorSha256 = "sha256-eo4B2p5Yo1r5jro49mSetp9AFYhcTXbyy7wGuaFwbb0="; doCheck = false; From f0f5aa601e99c9415c57ce67ca5e3351d0e38d3c Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Mon, 10 Oct 2022 20:13:42 +0800 Subject: [PATCH 2/2] 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 ];