godns: add missing ldflags

This commit is contained in:
Lin Yinfeng 2021-11-09 11:51:43 +08:00
parent dac0fabd5e
commit 09af1585ca
No known key found for this signature in database
GPG Key ID: 5FE6190217C55B26

View File

@ -16,7 +16,7 @@ buildGoModule rec {
# Some tests require internet access, broken in sandbox
doCheck = false;
ldflags = [ "-X main.Version=${version}" ];
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
meta = with lib; {
description = "A dynamic DNS client tool supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc";