mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-28 22:55:25 +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 @@
|
|||
default_pkgs: modules: {
|
||||
default_pkgs: {
|
||||
modules,
|
||||
self,
|
||||
}: {
|
||||
pkgs ? default_pkgs,
|
||||
extraSpecialArgs ? {},
|
||||
module,
|
||||
|
@ -27,4 +30,8 @@ default_pkgs: modules: {
|
|||
|
||||
config = handleAssertions eval.config;
|
||||
in
|
||||
config.finalPackage
|
||||
config.finalPackage.overrideAttrs (oa: {
|
||||
paths =
|
||||
oa.paths
|
||||
++ (pkgs.lib.optional config.enableMan self.packages.${pkgs.system}.man-docs);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue