From 6ca41603980f153990112cec5bd7599dadf67feb Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Tue, 24 Mar 2020 13:46:57 +0100 Subject: [PATCH] dnscontrol: remove unnecessary binries --- pkgs/applications/networking/dnscontrol/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/dnscontrol/default.nix b/pkgs/applications/networking/dnscontrol/default.nix index bdca68ce07d2..3f0a83d015da 100644 --- a/pkgs/applications/networking/dnscontrol/default.nix +++ b/pkgs/applications/networking/dnscontrol/default.nix @@ -1,12 +1,12 @@ { stdenv, fetchFromGitHub, buildGoPackage}: - + buildGoPackage rec { pname = "dnscontrol"; version = "3.0.0"; goPackagePath = "github.com/StackExchange/dnscontrol"; - goDeps = ./deps.nix; + goDeps = ./deps.nix; src = fetchFromGitHub { owner = "StackExchange"; @@ -15,6 +15,10 @@ buildGoPackage rec { sha256 = "1j8i4k7bqkqmi6dmc9fxfab49a7qigig72rlbga902lw336p6cc7"; }; + postInstall = '' + rm $bin/bin/{build,convertzone,generate,validate} + ''; + meta = with stdenv.lib; { description = "Synchronize your DNS to multiple providers from a simple DSL"; homepage = "https://stackexchange.github.io/dnscontrol/";