Skip to content

Commit

Permalink
default to including "man" in outputsToInstall
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed Feb 27, 2018
1 parent dc3bbb9 commit 3a21d5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/stdenv/generic/make-derivation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3a21d5b

Please sign in to comment.