dig: fix nix run usage

nix run .#dig -- nixos.org
I think it's nice, given that we have the `dig` attribute already.
This commit is contained in:
Vladimír Čunát
2023-08-29 10:08:08 +02:00
parent e8083f3021
commit 259a2d5108
+5 -1
View File
@@ -26381,7 +26381,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 { };