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"