summary refs log tree commit diff
path: root/nixos/modules/misc
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2023-08-12 13:13:14 +0300
committerDoron Behar <doron.behar@gmail.com>2023-08-12 18:01:06 +0300
commit32f75a0f2af55b50061629fd4e51221f15ada457 (patch)
tree83e8559ab2eddd545c70acc6ed0f732ba7e898b0 /nixos/modules/misc
parent9d0bb6e67a4a1922fefc9c0a35bd5b1f0482aaac (diff)
downloadnixpkgs-32f75a0f2af55b50061629fd4e51221f15ada457.tar
nixpkgs-32f75a0f2af55b50061629fd4e51221f15ada457.tar.gz
nixpkgs-32f75a0f2af55b50061629fd4e51221f15ada457.tar.bz2
nixpkgs-32f75a0f2af55b50061629fd4e51221f15ada457.tar.lz
nixpkgs-32f75a0f2af55b50061629fd4e51221f15ada457.tar.xz
nixpkgs-32f75a0f2af55b50061629fd4e51221f15ada457.tar.zst
nixpkgs-32f75a0f2af55b50061629fd4e51221f15ada457.zip
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.
Diffstat (limited to 'nixos/modules/misc')
-rw-r--r--nixos/modules/misc/documentation.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix
index 820450e3ce2..c94f5c53d9c 100644
--- a/nixos/modules/misc/documentation.nix
+++ b/nixos/modules/misc/documentation.nix
@@ -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 ];
     })