circleci-cli: update ldflags

This commit is contained in:
Mario Rodas 2020-08-15 04:20:00 -05:00
parent c06eab791f
commit c2dd712927

View File

@ -15,7 +15,7 @@ buildGoModule rec {
doCheck = false; doCheck = false;
buildFlagsArray = [ "-ldflags=-s -w -X github.com/CircleCI-Public/circleci-cli/version.Version=${version}" ]; buildFlagsArray = [ "-ldflags=-s -w -X github.com/CircleCI-Public/circleci-cli/version.Version=${version} -X github.com/CircleCI-Public/circleci-cli/version.Commit=${src.rev} -X github.com/CircleCI-Public/circleci-cli/version.packageManager=nix" ];
preBuild = '' preBuild = ''
substituteInPlace data/data.go \ substituteInPlace data/data.go \