dnscontrol: remove unnecessary binries

This commit is contained in:
Marek Mahut
2020-03-24 13:46:57 +01:00
parent 3f5fd762de
commit 6ca4160398
@@ -6,7 +6,7 @@ buildGoPackage rec {
goPackagePath = "github.com/StackExchange/dnscontrol"; goPackagePath = "github.com/StackExchange/dnscontrol";
goDeps = ./deps.nix; goDeps = ./deps.nix;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "StackExchange"; owner = "StackExchange";
@@ -15,6 +15,10 @@ buildGoPackage rec {
sha256 = "1j8i4k7bqkqmi6dmc9fxfab49a7qigig72rlbga902lw336p6cc7"; sha256 = "1j8i4k7bqkqmi6dmc9fxfab49a7qigig72rlbga902lw336p6cc7";
}; };
postInstall = ''
rm $bin/bin/{build,convertzone,generate,validate}
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Synchronize your DNS to multiple providers from a simple DSL"; description = "Synchronize your DNS to multiple providers from a simple DSL";
homepage = "https://stackexchange.github.io/dnscontrol/"; homepage = "https://stackexchange.github.io/dnscontrol/";