Merge pull request #172247 from techknowlogick/fix-flyctl

flyctl: fix ldflags date parsing
main
Artturi 2 years ago committed by GitHub
commit 163e4e24b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkgs/development/web/flyctl/default.nix

@ -18,7 +18,7 @@ buildGoModule rec {
ldflags = [ ldflags = [
"-s" "-w" "-s" "-w"
"-X github.com/superfly/flyctl/internal/buildinfo.commit=${src.rev}" "-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.environment=production"
"-X github.com/superfly/flyctl/internal/buildinfo.version=${version}" "-X github.com/superfly/flyctl/internal/buildinfo.version=${version}"
]; ];
@ -40,6 +40,6 @@ buildGoModule rec {
downloadPage = "https://github.com/superfly/flyctl"; downloadPage = "https://github.com/superfly/flyctl";
homepage = "https://fly.io/"; homepage = "https://fly.io/";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ aaronjanse jsierles ]; maintainers = with maintainers; [ aaronjanse jsierles techknowlogick ];
}; };
} }

Loading…
Cancel
Save