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.
wip/yesman
Fabian Möller 4 years ago
parent 6c40c0ace8
commit 40c9b2840b
No known key found for this signature in database
GPG Key ID: 70B29D65DD8A7E31
  1. 3
      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"

Loading…
Cancel
Save