eksctl: add ldflags

This commit is contained in:
Mario Rodas 2020-07-03 04:21:00 -05:00
parent 9685a03679
commit 66db082282

View File

@ -17,6 +17,8 @@ buildGoModule rec {
buildFlags = [ "-tags netgo" "-tags release" ]; buildFlags = [ "-tags netgo" "-tags release" ];
buildFlagsArray = [ "-ldflags=-s -w -X github.com/weaveworks/eksctl/pkg/version.gitCommit=${src.rev} -X github.com/weaveworks/eksctl/pkg/version.buildDate=19700101-00:00:00" ];
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
postInstall = '' postInstall = ''