Merge pull request #275859 from SharzyL/q_update
q: add version ldflags
This commit is contained in:
commit
e0e7962b6b
1 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,12 @@ buildGoModule rec {
|
|||
|
||||
vendorHash = "sha256-6kdf+LwMrIjwC3uZHlMdpEHvonxKfr86PQaMOgzgYOc=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.version=${version}"
|
||||
];
|
||||
|
||||
doCheck = false; # tries to resolve DNS
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue