From 5a35e9c042c45b8ec4c1e70538832cc4a2283270 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 1 Oct 2020 04:20:00 +0000 Subject: [PATCH] kpt: add buildFlagsArray --- pkgs/applications/networking/cluster/kpt/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/cluster/kpt/default.nix b/pkgs/applications/networking/cluster/kpt/default.nix index 0da51936032..a380cc200d9 100644 --- a/pkgs/applications/networking/cluster/kpt/default.nix +++ b/pkgs/applications/networking/cluster/kpt/default.nix @@ -15,6 +15,8 @@ buildGoModule rec { subPackages = [ "." ]; + buildFlagsArray = [ "-ldflags=-s -w -X github.com/GoogleContainerTools/kpt/run.version=${version}" ]; + meta = with lib; { description = "A toolkit to help you manage, manipulate, customize, and apply Kubernetes Resource configuration data files"; homepage = "https://googlecontainertools.github.io/kpt/";