From 3a21d5bce24ce280f052411e7e47aee73d2c4f49 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 27 Feb 2018 10:28:43 -0600 Subject: [PATCH] default to including "man" in outputsToInstall --- pkgs/stdenv/generic/make-derivation.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.