grpcui: add ldflags

This commit is contained in:
Mario Rodas 2020-06-27 04:20:00 -05:00
parent 3dec516b7d
commit d263c774e9
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -13,6 +13,10 @@ buildGoModule rec {
vendorSha256 = "0wih9xvpgqqd82v1pxy5rslrsd6wsl0ys1bi1mf373dnfq5vh5a9";
subPackages = [ "cmd/grpcui" ];
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
meta = with lib; {
description = "An interactive web UI for gRPC, along the lines of postman";
homepage = "https://github.com/fullstorydev/grpcui";
@ -20,4 +24,4 @@ buildGoModule rec {
maintainers = with maintainers; [ pradyuman ];
platforms = platforms.linux ++ platforms.darwin;
};
}
}