From 40c9b2840bcf9e3a45522a2402ec8c4fd6a77bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20M=C3=B6ller?= Date: Thu, 22 Oct 2020 12:55:25 +0200 Subject: [PATCH] mpd: fix build without documentation feature The man pages are only generated when the `documentation` feature is activated (sphinx is found). Otherwise no files are installed in `$man` and the output is not created. --- pkgs/servers/mpd/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/mpd/default.nix b/pkgs/servers/mpd/default.nix index ab93f3d6e105..f7cc688dc564 100644 --- a/pkgs/servers/mpd/default.nix +++ b/pkgs/servers/mpd/default.nix @@ -155,7 +155,8 @@ let mesonAutoFeatures = "disabled"; - outputs = [ "out" "doc" "man" ]; + outputs = [ "out" "doc" ] + ++ lib.optional (builtins.elem "documentation" features_) "man"; mesonFlags = [ "-Dtest=true"