Merge pull request #275859 from SharzyL/q_update

q: add version ldflags
This commit is contained in:
Weijia Wang 2024-03-07 13:13:15 +01:00 committed by GitHub
commit e0e7962b6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,6 +13,12 @@ buildGoModule rec {
vendorHash = "sha256-6kdf+LwMrIjwC3uZHlMdpEHvonxKfr86PQaMOgzgYOc=";
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
];
doCheck = false; # tries to resolve DNS
meta = {