nixos/install-tools: Add manpages to packages instead of seperating them

Since each such `nixos-*` tool has it's own derivation, exposed in pkgs,
There is no point in separating the manuals from the packages. If
someone wishes to have the tools without the manuals, they can use
meta.outputsToInstall to disable the installation of the manpages of
these packages. This Fixes #244450.
This commit is contained in:
Doron Behar 2023-08-12 13:13:14 +03:00
parent 9d0bb6e67a
commit 32f75a0f2a
11 changed files with 16 additions and 8 deletions

View file

@ -346,7 +346,7 @@ in
system.build.manual = manual;
environment.systemPackages = []
++ optional cfg.man.enable manual.manpages
++ optional cfg.man.enable manual.configuration-manual
++ optionals cfg.doc.enable [ manual.manualHTML nixos-help ];
})