mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
docs: Allow to install man pages (#687)
This commit is contained in:
parent
e45be89f12
commit
541b694873
7 changed files with 55 additions and 14 deletions
|
@ -1,4 +1,7 @@
|
|||
modules: {
|
||||
{
|
||||
modules,
|
||||
self,
|
||||
}: {
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
|
@ -24,7 +27,9 @@ in {
|
|||
|
||||
config = mkIf cfg.enable (mkMerge [
|
||||
{
|
||||
environment.systemPackages = [cfg.finalPackage];
|
||||
environment.systemPackages =
|
||||
[cfg.finalPackage]
|
||||
++ (lib.optional cfg.enableMan self.packages.${pkgs.system}.man-docs);
|
||||
}
|
||||
{
|
||||
inherit (cfg) warnings assertions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue