command-not-found: Add more context to error msg
This commit is contained in:
@@ -14,8 +14,9 @@ if (! -e $dbPath) {
|
||||
print STDERR "$program: command not found\n";
|
||||
print STDERR "\n";
|
||||
print STDERR "command-not-found: Missing package database\n";
|
||||
print STDERR "This likely means the database hasn't been generated yet.\n";
|
||||
print STDERR "This tool requires nix-channels to generate the database.\n";
|
||||
print STDERR "command-not-found is a tool for searching for missing packages.\n";
|
||||
print STDERR "No database was found, this likely means the database hasn't been generated yet.\n";
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user