aws-iam-authenticator: fix ldflags

- changed ldflags to reflect 4c82478b1f
This commit is contained in:
Bryan A. S 2022-06-13 13:52:32 -03:00
parent 1b3a480c0b
commit 8722479fd4

View file

@ -15,7 +15,12 @@ buildGoModule rec {
deleteVendor = true;
vendorSha256 = null;
ldflags = [ "-s" "-w" "-X main.version=v${version}" ];
ldflags = let PKG = "sigs.k8s.io/aws-iam-authenticator"; in [
"-s" "-w"
"-X ${PKG}/pkg.Version=${version}"
"-X ${PKG}/pkg.BuildDate=1970-01-01T01:01:01Z"
"-X ${PKG}/pkg.CommitID=${version}"
];
subPackages = [ "cmd/aws-iam-authenticator" ];