flyctl: fix ldflags date parsing

This commit is contained in:
techknowlogick 2022-05-09 17:02:34 -04:00
parent 3141204b22
commit 0fc6a60ecc

View file

@ -18,7 +18,7 @@ buildGoModule rec {
ldflags = [
"-s" "-w"
"-X github.com/superfly/flyctl/internal/buildinfo.commit=${src.rev}"
"-X github.com/superfly/flyctl/internal/buildinfo.buildDate=1970-01-01T00:00:00+0000"
"-X github.com/superfly/flyctl/internal/buildinfo.buildDate=1970-01-01T00:00:00Z"
"-X github.com/superfly/flyctl/internal/buildinfo.environment=production"
"-X github.com/superfly/flyctl/internal/buildinfo.version=${version}"
];
@ -40,6 +40,6 @@ buildGoModule rec {
downloadPage = "https://github.com/superfly/flyctl";
homepage = "https://fly.io/";
license = licenses.asl20;
maintainers = with maintainers; [ aaronjanse jsierles ];
maintainers = with maintainers; [ aaronjanse jsierles techknowlogick ];
};
}