lego: add ldflags

This commit is contained in:
Nikolay Korotkiy 2024-05-30 19:14:56 +04:00
parent 9864cea8ab
commit 894d777701
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

View File

@ -18,7 +18,7 @@ buildGoModule rec {
subPackages = [ "cmd/lego" ];
ldflags = [
"-X main.version=${version}"
"-s" "-w" "-X main.version=${version}"
];
meta = with lib; {