cod: strip and remove debug symbols

This commit is contained in:
Sandro Jäckel 2021-02-12 04:21:17 +01:00
parent ac6988b577
commit e1beea4c38
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

@ -13,7 +13,7 @@ buildGoModule rec {
vendorSha256 = "1arllkiz1hk12hq5b2zpg3f8i9lxl66mil5sdv8gnhflmb37vbv3";
buildFlagsArray = [ "-ldflags=-X main.GitSha=${src.rev}" ];
buildFlagsArray = [ "-ldflags=-s -w -X main.GitSha=${src.rev}" ];
doCheck = false;