From 894d777701fee251b6c2b2abce6b07c52df5eaaa Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Thu, 30 May 2024 19:14:56 +0400 Subject: [PATCH] lego: add ldflags --- pkgs/tools/admin/lego/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/admin/lego/default.nix b/pkgs/tools/admin/lego/default.nix index 8b0a4b2e4cc8..fc4ed942e979 100644 --- a/pkgs/tools/admin/lego/default.nix +++ b/pkgs/tools/admin/lego/default.nix @@ -18,7 +18,7 @@ buildGoModule rec { subPackages = [ "cmd/lego" ]; ldflags = [ - "-X main.version=${version}" + "-s" "-w" "-X main.version=${version}" ]; meta = with lib; {