diff options
author | Marek Mahut <marek.mahut@gmail.com> | 2020-03-24 13:46:57 +0100 |
---|---|---|
committer | Marek Mahut <marek.mahut@gmail.com> | 2020-03-24 13:46:57 +0100 |
commit | 6ca41603980f153990112cec5bd7599dadf67feb (patch) | |
tree | bf01bfabc133c171675c28b198b083abbe5305db /pkgs/applications/networking/dnscontrol | |
parent | 3f5fd762de790ecf4b4c4a2525f040b9bd051411 (diff) |
dnscontrol: remove unnecessary binries
Diffstat (limited to 'pkgs/applications/networking/dnscontrol')
-rw-r--r-- | pkgs/applications/networking/dnscontrol/default.nix | 8 |
1 files 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/"; |