mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
default to including "man" in outputsToInstall
This commit is contained in:
parent
dc3bbb9dd2
commit
3a21d5bce2
|
@ -230,7 +230,8 @@ rec {
|
|||
let
|
||||
outs = outputs'; # the value passed to derivation primitive
|
||||
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 {}
|
||||
# Fill `meta.position` to identify the source location of the package.
|
||||
|
|
Loading…
Reference in a new issue