mpd: Darwin cleanup, ao output (#381626)

authored by Alexis Hildebrandt and committed by GitHub 67d6ef85 628670ba

+5 -1
+5 -1
pkgs/servers/mpd/default.nix
··· 38 soxr, 39 # Outputs 40 alsa-lib, 41 libjack2, 42 libpulseaudio, 43 libshout, ··· 112 soxr = [ soxr ]; 113 # Output plugins 114 alsa = [ alsa-lib ]; 115 jack = [ libjack2 ]; 116 pipewire = [ pipewire ]; 117 pulse = [ libpulseaudio ]; ··· 262 ] 263 ++ map (x: "-D${x}=enabled") features_ 264 ++ map (x: "-D${x}=disabled") (lib.subtractLists features_ knownFeatures) 265 - ++ lib.optional (builtins.elem "zeroconf" features_) "-Dzeroconf=avahi" 266 ++ lib.optional (builtins.elem "systemd" features_) "-Dsystemd_system_unit_dir=etc/systemd/system" 267 ++ lib.optional (builtins.elem "qobuz" features_) "-Dnlohmann_json=enabled"; 268
··· 38 soxr, 39 # Outputs 40 alsa-lib, 41 + libao, 42 libjack2, 43 libpulseaudio, 44 libshout, ··· 113 soxr = [ soxr ]; 114 # Output plugins 115 alsa = [ alsa-lib ]; 116 + ao = [ libao ]; 117 jack = [ libjack2 ]; 118 pipewire = [ pipewire ]; 119 pulse = [ libpulseaudio ]; ··· 264 ] 265 ++ map (x: "-D${x}=enabled") features_ 266 ++ map (x: "-D${x}=disabled") (lib.subtractLists features_ knownFeatures) 267 + ++ lib.optional (builtins.elem "zeroconf" features_) ( 268 + "-Dzeroconf=" + (if stdenv.hostPlatform.isDarwin then "bonjour" else "avahi") 269 + ) 270 ++ lib.optional (builtins.elem "systemd" features_) "-Dsystemd_system_unit_dir=etc/systemd/system" 271 ++ lib.optional (builtins.elem "qobuz" features_) "-Dnlohmann_json=enabled"; 272