default to including "man" in outputsToInstall

This commit is contained in:
Will Dietz 2018-02-27 10:28:43 -06:00
parent dc3bbb9dd2
commit 3a21d5bce2

View File

@ -230,7 +230,8 @@ rec {
let let
outs = outputs'; # the value passed to derivation primitive outs = outputs'; # the value passed to derivation primitive
hasOutput = out: builtins.elem out outs; hasOutput = out: builtins.elem out outs;
in [( lib.findFirst hasOutput null (["bin" "out"] ++ outs) )]; in [( lib.findFirst hasOutput null (["bin" "out"] ++ outs) )]
++ lib.optional (hasOutput "man") "man";
} }
// attrs.meta or {} // attrs.meta or {}
# Fill `meta.position` to identify the source location of the package. # Fill `meta.position` to identify the source location of the package.