Merge pull request #35884 from dtzWill/fix/man-in-outputsToInstall

default to including "man" in outputsToInstall
This commit is contained in:
Matthew Bauer
2019-01-31 14:55:12 -05:00
committed by GitHub
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -285,7 +285,8 @@ rec {
outputsToInstall =
let
hasOutput = out: builtins.elem out outputs;
in [( lib.findFirst hasOutput null (["bin" "out"] ++ outputs) )];
in [( lib.findFirst hasOutput null (["bin" "out"] ++ outputs) )]
++ lib.optional (hasOutput "man") "man";
}
// attrs.meta or {}
# Fill `meta.position` to identify the source location of the package.