dig: fix nix run usage

nix run .#dig -- nixos.org
I think it's nice, given that we have the `dig` attribute already.

(cherry picked from commit 259a2d5108)
This commit is contained in:
Vladimír Čunát
2023-08-29 10:08:08 +02:00
committed by github-actions[bot]
parent 0738f5c62a
commit e3219d175c

View File

@@ -25222,7 +25222,11 @@ with pkgs;
bind = callPackage ../servers/dns/bind { };
dnsutils = bind.dnsutils;
dig = bind.dnsutils;
dig = bind.dnsutils // {
meta = bind.dnsutils.meta // {
mainProgram = "dig";
};
};
bird = callPackage ../servers/bird { };