tailscale: reduce closure size via ldflags

This commit is contained in:
Ilan Joselevich 2023-03-19 13:18:16 +02:00
parent 73d2bec90f
commit 9625629f56
No known key found for this signature in database

View File

@ -18,7 +18,12 @@ buildGoModule rec {
subPackages = [ "cmd/tailscale" "cmd/tailscaled" ];
ldflags = [ "-X tailscale.com/version.longStamp=${version}" "-X tailscale.com/version.shortStamp=${version}" ];
ldflags = [
"-w"
"-s"
"-X tailscale.com/version.longStamp=${version}"
"-X tailscale.com/version.shortStamp=${version}"
];
doCheck = false;