git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/command-not-found: don't use fancy quotes
commite4cd9a8f043cb6f10f56da4bc08896cd22b0a10f authorBernardo Meurer <bernardo@meurer.org> dateFri 1 Jan 2021, 20:04 (6 years ago) parent88632b7
1 file changed+4−4
nixos/modules/programs/command-not-found/command-not-found.pl+4−4
nixos/modules/programs/command-not-found/command-not-found.pl+4−4
@@ -27,8 +27,8 @@ if (!defined $res || scalar @$res == 0) {
2727 my $package = @$res[0]->{package};
2828 if ($ENV{"NIX_AUTO_INSTALL"} // "") {
2929 print STDERR <<EOF;
30−The program ‘$program’ is currently not installed. It is provided by
31−the package ‘$package’, which I will now install for you.
30+The program '$program' is currently not installed. It is provided by
31+the package '$package', which I will now install for you.
3232EOF
3333 ;
3434 exit 126 if system("nix-env", "-iA", "nixos.$package") == 0;
@@ -36,14 +36,14 @@ EOF
3636 exec("nix-shell", "-p", $package, "--run", shell_quote("exec", @ARGV));
3737 } else {
3838 print STDERR <<EOF;
39−The program ‘$program’ is not in your PATH. You can make it available in a
39+The program '$program' is not in your PATH. You can make it available in a
4040ephemeral shell by typing:
4141 nix-shell -p $package
4242EOF
4343 }
4444} else {
4545 print STDERR <<EOF;
46−The program ‘$program’ is not in your PATH. It is provided by several packages.
46+The program '$program' is not in your PATH. It is provided by several packages.
4747You can make it available in a ephemeral shell by typing one of the following:
4848EOF
4949 print STDERR " nix-shell -p $_->{package}\n" foreach @$res;