From 12ec5a1f4eb8cb5f526f1ec5be181e752c0d85a8 Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Wed, 20 Oct 2021 11:01:26 +0200 Subject: [PATCH] kubecfg: add -s and -w to ldflags This turns of debug symbols and the symbol table. Co-authored-by: Sandro --- pkgs/applications/networking/cluster/kubecfg/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/cluster/kubecfg/default.nix b/pkgs/applications/networking/cluster/kubecfg/default.nix index 7c986bfcbd5b..c46c6ed26301 100644 --- a/pkgs/applications/networking/cluster/kubecfg/default.nix +++ b/pkgs/applications/networking/cluster/kubecfg/default.nix @@ -15,7 +15,7 @@ buildGoPackage { goPackagePath = "github.com/bitnami/kubecfg"; - ldflags = [ "-X main.version=v${version}" ]; + ldflags = [ "-s" "-w" "-X main.version=v${version}" ]; meta = { description = "A tool for managing Kubernetes resources as code";