Skip to content

Conversation

@KiaraGrouwstra
Copy link
Contributor

This PR adds a rule to suggest package installations in response to NixOS command-not-found errors for uninstalled packages available in the repo, see @anka-213's #912 for the original request.
My implementation was partly inspired by the apt-get rule, and is quite simple, simply judging applicability by the availability of nix, and scanning for the nix-env -iA line, only to suggest that same command in return.
Feedback welcome!

@nvbn
Copy link
Owner

nvbn commented Jun 26, 2019

Looks good, thanks!

@nvbn nvbn merged commit 48e1e42 into nvbn:master Jun 26, 2019
riley-martine pushed a commit to riley-martine/thefuck that referenced this pull request Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants