Function for getting all manpages of all pkgs:

```
manpkgs = pkgs: builtins.map (x: lib.getOutput "man" x) pkgs;
```
https://github.com/NixOS/nixpkgs/blob/5989515b9410f3d557e1aba037325a218f4338f5/lib/attrsets.nix#L450

You might want to concatenate the generated list to `pkgs`.

On Thu, May 25, 2017 at 12:31 PM, Sergey Mironov <grr...@gmail.com> wrote:

> Hi! Is there a possibility to install manpages for all packages I have
> in NixOS. Possibly, a combinator which would convert a list of `with
> pkgs; [foo bar]` to `with pkgs; [foo foo.man bar bar.man]` with checks
> of .man existing ?
>
> Regards,
> Sergey
>
>
> PS
> Sorry If I am missing the topic in documentation
> _______________________________________________
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to