From 7d1f55fbfdcfe32bc39f1328c98b76e9b796a626 Mon Sep 17 00:00:00 2001 From: Ivan Kovnatsky Date: Mon, 8 Feb 2021 10:53:39 +0200 Subject: [PATCH] aws-iam-authenticator: Add ldflags options and release version --- pkgs/tools/security/aws-iam-authenticator/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/security/aws-iam-authenticator/default.nix b/pkgs/tools/security/aws-iam-authenticator/default.nix index 00b3669afd8..524c31126eb 100644 --- a/pkgs/tools/security/aws-iam-authenticator/default.nix +++ b/pkgs/tools/security/aws-iam-authenticator/default.nix @@ -13,6 +13,8 @@ buildGoModule rec { vendorSha256 = null; + buildFlagsArray = [ "-ldflags=-s -w -X pkg.Version=v${version}" ]; + meta = with lib; { homepage = "https://github.com/kubernetes-sigs/aws-iam-authenticator"; description = "AWS IAM credentials for Kubernetes authentication";