support nixos command-not-found, closes #912 (#922)

This commit is contained in:
Tycho Grouwstra
2019-06-26 20:01:02 +02:00
committed by Vladimir Iakovlev
parent 59dc6cbf90
commit 48e1e4217f
4 changed files with 44 additions and 0 deletions
+1
View File
@@ -316,6 +316,7 @@ The following rules are enabled by default on specific platforms only:
* `brew_unknown_command` – fixes wrong brew commands, for example `brew docto/brew doctor`;
* `brew_update_formula` &ndash; turns `brew update <formula>` into `brew upgrade <formula>`;
* `dnf_no_such_command` &ndash; fixes mistyped DNF commands;
* `nixos_cmd_not_found` &ndash; installs apps on NixOS;
* `pacman` &ndash; installs app with `pacman` if it is not installed (uses `yay` or `yaourt` if available);
* `pacman_not_found` &ndash; fixes package name with `pacman`, `yay` or `yaourt`.