tailscale: reduce closure size via ldflags
This commit is contained in:
parent
73d2bec90f
commit
9625629f56
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue