summaryrefslogtreecommitdiffstats
path: root/pkgs/stdenv/generic
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-02-27 10:28:43 -0600
committerWill Dietz <w@wdtz.org>2018-02-27 10:31:07 -0600
commit3a21d5bce24ce280f052411e7e47aee73d2c4f49 (patch)
treee9cf714a967bc8428bdf00a6961c88df40b18cf7 /pkgs/stdenv/generic
parentdc3bbb9dd24dd6b7ca780dd74318aee7d4ac72d0 (diff)
default to including "man" in outputsToInstall
Diffstat (limited to 'pkgs/stdenv/generic')
-rw-r--r--pkgs/stdenv/generic/make-derivation.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix
index e8f78d7401f1..432a7e338944 100644
--- a/pkgs/stdenv/generic/make-derivation.nix
+++ b/pkgs/stdenv/generic/make-derivation.nix
@@ -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.