-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command-not-found
prints out wrong nix run
command
#185
Comments
Having this same issue 😅 I'll look into fixing it and make a PR. |
Ok so there's two options:
Personally I prefer the second option, because you'd occasionally have no application defined in the output for "$attrs", which trips up |
I'd recommend the latter with |
That's fair! I usually like presenting the longer options so new people can understand it more easily at a glance, but they can always run |
Yeah I'm usually a long options defender, but in this case I think teaching people there's a syntax short enough to want to type is valuable. It also reduces confusion with the |
That's fair, we should go with |
On a flakified system, the interactive shell CNF handler responds with something like
It does not appear as though
--command
is a flag fornix run
.nix shell
however has such a flag, so the message could benix shell nixpkgs#farbfeld.out --command ...
OS: NixOS 22.05
Nix: 2.8.1, 2.9.1
The text was updated successfully, but these errors were encountered: