From e22edea5545a1ec7a1caecae6d92bf5fe009caea Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 4 Oct 2021 22:02:33 +0800 Subject: [PATCH] k0sctl: 0.10.2 -> 0.10.3 --- .../networking/cluster/k0sctl/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/k0sctl/default.nix b/pkgs/applications/networking/cluster/k0sctl/default.nix index d12042f40784..8ce36e8c312e 100644 --- a/pkgs/applications/networking/cluster/k0sctl/default.nix +++ b/pkgs/applications/networking/cluster/k0sctl/default.nix @@ -5,17 +5,24 @@ buildGoModule rec { pname = "k0sctl"; - version = "0.10.2"; + version = "0.10.3"; src = fetchFromGitHub { owner = "k0sproject"; repo = pname; rev = "v${version}"; - sha256 = "sha256-0vsOZbSQtoWvU81wnT7QWNhvIclwGAu441lTOuZnXho="; + sha256 = "sha256-hlJfgNFHEjIrvHhaAje1XQbNO6e3D/qcCmdVFhklwqs="; }; vendorSha256 = "sha256-3OTkigryWsyCytyNMyumJJtc/BwtdryvDQRan2dzqfg="; + ldflags = [ + "-s" + "-w" + "-X github.com/k0sproject/k0sctl/version.Environment=production" + "-X github.com/k0sproject/k0sctl/version.Version=${version}" + ]; + meta = with lib; { description = "A bootstrapping and management tool for k0s clusters."; homepage = "https://k0sproject.io/";