Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--help fails in a confusing way if man isn't installed #10677

Open
noamraph opened this issue May 10, 2024 · 0 comments
Open

--help fails in a confusing way if man isn't installed #10677

noamraph opened this issue May 10, 2024 · 0 comments
Labels

Comments

@noamraph
Copy link

Describe the bug

This is related to #6186

I installed nix in a docker container, in order to play with it. The --help argument of nix-* commands fails, and it was quite difficult to understand how to fix it:

$ nix-env --help
error: command 'man nix-env' failed: No such file or directory

A suggestion: perhaps add a note saying something like "Showing help requires man installed. You can install it using your OS package manager".

Steps To Reproduce

  1. Install nix in an ubuntu:22.04 docker container.
  2. Run nix-env --help

Expected behavior

See the help

nix-env --version output

nix-env (Nix) 2.22.1

Additional context

Priorities

Add 👍 to issues you find important.

@noamraph noamraph added the bug label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant