Skip to content

Man pages are not installed with Nix 2.26.1 #12382

Open
@hja3

Description

@hja3

Platform

  • Linux: OpenMandriva
  • macOS
  • WSL

Additional information

Performed a multi-user installation the usual way (i.e. via https://nixos.org/download/), which completed without error. After installation, however, I discovered that the man pages for the nix- utilities are unavailable.

Output

Output
[user@laptop ~]$ nix-env --version
nix-env (Nix) 2.26.1
[user@laptop ~]$ nix-env --help
No manual entry for nix-env
[user@laptop ~]$ ls -al /nix/var/nix/profiles/default/share/
total 0
dr-xr-xr-x 1 user user 44 Jan  1  1970 .
dr-xr-xr-x 1 user user 42 Jan  1  1970 ..
dr-xr-xr-x 1 user user 22 Jan  1  1970 bash-completion
dr-xr-xr-x 1 user user 40 Jan  1  1970 fish
dr-xr-xr-x 1 user user 28 Jan  1  1970 zsh

As shown in the output above, the nix-env --help command fails and the man directory in the default profile is absent.

Checklist


Add 👍 to issues you find important.

Metadata

Metadata

Assignees

Labels

build-problemNix fails to compile or test; also improvements to build process

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions