diff options
author | Pavel Borzenkov <pavel@borzenkov.net> | 2022-05-17 12:01:02 +0200 |
---|---|---|
committer | Pavel Borzenkov <pavel@borzenkov.net> | 2022-05-17 12:01:02 +0200 |
commit | 267af27a65aaecf8eb453df89ddc460933765216 (patch) | |
tree | 932a35e41043d0cfa50da88db68a479336af00a3 | |
parent | 0d3a0ff97a5fffb7cf9eef4cede95d8f28526784 (diff) |
mpd: enable NFS support on Darwin
mpd builds and works just fine with NFS on Darwin.
-rw-r--r-- | pkgs/servers/mpd/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/servers/mpd/default.nix b/pkgs/servers/mpd/default.nix index c83d6e3e1fbce..be85d5b0c9132 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; } |