diff options
author | Fabian Möller <fabianm88@gmail.com> | 2020-10-22 12:55:25 +0200 |
---|---|---|
committer | Fabian Möller <fabianm88@gmail.com> | 2020-10-22 12:55:25 +0200 |
commit | 40c9b2840bcf9e3a45522a2402ec8c4fd6a77bfa (patch) | |
tree | f663f8c826deb187554e028d45bbc52de3c9c9d9 /pkgs/servers/mpd | |
parent | 6c40c0ace80b4497be35da47d57f8553a746a921 (diff) | |
download | nixpkgs-40c9b2840bcf9e3a45522a2402ec8c4fd6a77bfa.tar nixpkgs-40c9b2840bcf9e3a45522a2402ec8c4fd6a77bfa.tar.gz nixpkgs-40c9b2840bcf9e3a45522a2402ec8c4fd6a77bfa.tar.bz2 nixpkgs-40c9b2840bcf9e3a45522a2402ec8c4fd6a77bfa.tar.lz nixpkgs-40c9b2840bcf9e3a45522a2402ec8c4fd6a77bfa.tar.xz nixpkgs-40c9b2840bcf9e3a45522a2402ec8c4fd6a77bfa.tar.zst nixpkgs-40c9b2840bcf9e3a45522a2402ec8c4fd6a77bfa.zip |
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.
Diffstat (limited to 'pkgs/servers/mpd')
-rw-r--r-- | pkgs/servers/mpd/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/mpd/default.nix b/pkgs/servers/mpd/default.nix index ab93f3d6e10..f7cc688dc56 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" |