diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-02-12 04:21:17 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-02-12 20:35:39 +0100 |
commit | e1beea4c380c653a710f91546ffe90c2b01c9a3f (patch) | |
tree | 87f6c7422da2c274b9538b765d5bd1bf1344ff0d /pkgs/tools/misc/cod | |
parent | ac6988b577115bbdddace7f240c0a93d6b03fe85 (diff) |
cod: strip and remove debug symbols
Diffstat (limited to 'pkgs/tools/misc/cod')
-rw-r--r-- | pkgs/tools/misc/cod/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/cod/default.nix b/pkgs/tools/misc/cod/default.nix index 6dad6173ed4b9..dfad9569d2a06 100644 --- a/pkgs/tools/misc/cod/default.nix +++ b/pkgs/tools/misc/cod/default.nix @@ -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; |