From f8996ad9c9dc63e422d9ca87676de78136018f2e Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Sun, 14 Feb 2021 08:56:15 +0100 Subject: dnscontrol: strip binary --- pkgs/applications/networking/dnscontrol/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/applications/networking/dnscontrol') diff --git a/pkgs/applications/networking/dnscontrol/default.nix b/pkgs/applications/networking/dnscontrol/default.nix index 55a16f42f16..2af3e8fe560 100644 --- a/pkgs/applications/networking/dnscontrol/default.nix +++ b/pkgs/applications/networking/dnscontrol/default.nix @@ -15,6 +15,8 @@ buildGoModule rec { subPackages = [ "." ]; + buildFlagsArray = [ "-ldflags=-s -w" ]; + meta = with lib; { description = "Synchronize your DNS to multiple providers from a simple DSL"; homepage = "https://stackexchange.github.io/dnscontrol/"; -- cgit 1.4.1