From 267af27a65aaecf8eb453df89ddc460933765216 Mon Sep 17 00:00:00 2001 From: Pavel Borzenkov Date: Tue, 17 May 2022 12:01:02 +0200 Subject: [PATCH] mpd: enable NFS support on Darwin mpd builds and works just fine with NFS on Darwin. --- pkgs/servers/mpd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/mpd/default.nix b/pkgs/servers/mpd/default.nix index c83d6e3e1fbc..be85d5b0c913 100644 --- a/pkgs/servers/mpd/default.nix +++ b/pkgs/servers/mpd/default.nix @@ -96,7 +96,7 @@ let # Disable platform specific features if needed # using libmad to decode mp3 files on darwin is causing a segfault -- there # is probably a solution, but I'm disabling it for now - platformMask = lib.optionals stdenv.isDarwin [ "mad" "pulse" "jack" "nfs" "smbclient" ] + platformMask = lib.optionals stdenv.isDarwin [ "mad" "pulse" "jack" "smbclient" ] ++ lib.optionals (!stdenv.isLinux) [ "alsa" "pipewire" "io_uring" "systemd" "syslog" ]; knownFeatures = builtins.attrNames featureDependencies ++ builtins.attrNames nativeFeatureDependencies; @@ -193,7 +193,7 @@ in { mpd = run { }; mpd-small = run { features = [ - "webdav" "curl" "mms" "bzip2" "zzip" + "webdav" "curl" "mms" "bzip2" "zzip" "nfs" "audiofile" "faad" "flac" "gme" "mpg123" "opus" "vorbis" "vorbisenc" "lame" "libsamplerate" "shout" @@ -203,7 +203,7 @@ in ] ++ lib.optionals stdenv.isLinux [ "alsa" "systemd" "syslog" "io_uring" ] ++ lib.optionals (!stdenv.isDarwin) [ - "mad" "jack" "nfs" + "mad" "jack" ]; }; mpdWithFeatures = run; }