This commit is contained in:
Eelco Dolstra 2021-01-04 12:44:03 +01:00
parent 63750b466a
commit dd23fc0ca2
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ EOF
exec("nix-shell", "-p", $package, "--run", shell_quote("exec", @ARGV)); exec("nix-shell", "-p", $package, "--run", shell_quote("exec", @ARGV));
} else { } else {
print STDERR <<EOF; print STDERR <<EOF;
The program '$program' is not in your PATH. You can make it available in a The program '$program' is not in your PATH. You can make it available in an
ephemeral shell by typing: ephemeral shell by typing:
nix-shell -p $package nix-shell -p $package
EOF EOF
@ -44,7 +44,7 @@ EOF
} else { } else {
print STDERR <<EOF; print STDERR <<EOF;
The program '$program' is not in your PATH. It is provided by several packages. The program '$program' is not in your PATH. It is provided by several packages.
You can make it available in a ephemeral shell by typing one of the following: You can make it available in an ephemeral shell by typing one of the following:
EOF EOF
print STDERR " nix-shell -p $_->{package}\n" foreach @$res; print STDERR " nix-shell -p $_->{package}\n" foreach @$res;
} }