Skip to content

dig: fix nix run usage#252097

Merged
Atemu merged 1 commit intoNixOS:masterfrom
vcunat:p/nix-run-dig
Aug 29, 2023
Merged

dig: fix nix run usage#252097
Atemu merged 1 commit intoNixOS:masterfrom
vcunat:p/nix-run-dig

Conversation

@vcunat
Copy link
Member

@vcunat vcunat commented Aug 29, 2023

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

The normal PR checklist doesn't really apply here.

nix run .#dig -- nixos.org
I think it's nice, given that we have the `dig` attribute already.
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Aug 29, 2023
@vcunat
Copy link
Member Author

vcunat commented Aug 29, 2023

Man, this mainly made me want to add kdig attribute :-/

@Atemu Atemu merged commit 8bd76c5 into NixOS:master Aug 29, 2023
@github-actions
Copy link
Contributor

Successfully created backport PR for release-23.05:

@vcunat vcunat deleted the p/nix-run-dig branch August 29, 2023 09:15
@vcunat
Copy link
Member Author

vcunat commented Aug 29, 2023

I guess I should've used

dig = lib.addMetaAttrs { mainProgram = "dig"; } bind.dnsutils;

@Atemu
Copy link
Member

Atemu commented Aug 29, 2023

Ah, neat function. Didn't know that existed.

vcunat added a commit that referenced this pull request Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants