Man Pages for Grub2 seems missing for Nixos?

Hi,
My knowledge of Linux is much longer but my experience of Nixos is about a year and I have a question about man pages for grub2.

I am currently on version 24.5
I have installed grub2 packages by adding it to configuration.nix and expected man pages to follow with the packages, but it didn’t. Am I missing something in my configuration?

To be more specifc I have installed the package by adding grub2 in configuration.nix like
this:

{ config, lib, pkgs, … }:

{
environment.systemPackages = with pkgs;[
grub2
man-pages
man-pages-posix
];

documentation = {
dev.enable = true;
man.generateCaches = true;
nixos.includeAllModules = true;
};
}

and running from shell:

nixos-rebuild test

typing

man grub-install
No manual entry for grub-install.

Anyone knows if man pages exist for Nixos at all?

Might be missing. Would you be interested in contributing a fix?

Thank you @mightyiam for your reply. Certainly if I could I would. I am not a programmer though but more like a sys-admin.I have no idea how that fix would look like, but I was personally more curious and interested in if I had followed the procedure correctly for installing the package after using nixos search to find out about the package; and I understand also I can install ubuntu or Mint on a VM and read the manpages there for grub2 if in need.

Fix is coming in a couple of days to nixos-unstable:

And the backport PR for 24.05 is created as well:

1 Like

Thanks @waffle8946 for your fix. Much appreciated!