command-not-found: correct nix-channel error message and documentation

This commit is contained in:
mahmoud
2026-01-04 02:46:12 -08:00
parent a1b83f926c
commit c79710a843
2 changed files with 2 additions and 2 deletions
@@ -38,7 +38,7 @@ in
Whether interactive shells should show which Nix package (if
any) provides a missing command.
Requires nix-channels to be set and downloaded (sudo nix-channels --update.)
Requires nix-channels to be set and downloaded (sudo nix-channel --update.)
See also nix-index and nix-index-database as an alternative for flakes-based systems.
@@ -19,7 +19,7 @@ if (! -e $dbPath) {
print STDERR "This tool requires nix-channels to generate the database for the `nixos` channel.\n";
print STDERR "\n";
print STDERR "If you are using nix-channels you can run:\n";
print STDERR " sudo nix-channels --update\n";
print STDERR " sudo nix-channel --update\n";
print STDERR "\n";
print STDERR "If you are using flakes, see nix-index and nix-index-database.\n";
print STDERR "\n";