mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
q: add version ldflags
This commit is contained in:
parent
536587cd4a
commit
fc1410ae83
|
@ -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