From fbcc4daff7652ad630e7bb0d6ae71467aa2609e3 Mon Sep 17 00:00:00 2001 From: Johannes Frankenau Date: Sat, 21 Jul 2018 22:32:20 +0200 Subject: [PATCH] mpd: add nfs and smb support --- pkgs/servers/mpd/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/mpd/default.nix b/pkgs/servers/mpd/default.nix index 35637e7f73a..d22beac6e9d 100644 --- a/pkgs/servers/mpd/default.nix +++ b/pkgs/servers/mpd/default.nix @@ -26,6 +26,8 @@ , clientSupport ? true, mpd_clientlib , opusSupport ? true, libopus , soundcloudSupport ? true, yajl +, nfsSupport ? true, libnfs +, smbSupport ? true, smbclient }: assert avahiSupport -> avahi != null && dbus != null; @@ -81,7 +83,9 @@ in stdenv.mkDerivation rec { ++ opt icuSupport icu ++ opt clientSupport mpd_clientlib ++ opt opusSupport libopus - ++ opt soundcloudSupport yajl; + ++ opt soundcloudSupport yajl + ++ opt nfsSupport libnfs + ++ opt smbSupport smbclient; nativeBuildInputs = [ autoreconfHook pkgconfig ]; @@ -116,6 +120,8 @@ in stdenv.mkDerivation rec { (mkFlag clientSupport "libmpdclient") (mkFlag opusSupport "opus") (mkFlag soundcloudSupport "soundcloud") + (mkFlag nfsSupport "libnfs") + (mkFlag smbSupport "smbclient") "--enable-debug" "--with-zeroconf=avahi" ]