From 37fc18eb1efd2dfc3a3e465d1c923637ffecc084 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 22 Nov 2012 02:30:34 +0100 Subject: [PATCH] mplayer: Take config.pulseaudio into account. Packages like libao or skype already honor config.pulseaudio, so let's assure that mplayer does so as well. Signed-off-by: aszlig --- pkgs/top-level/all-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e31cc9de4b0..e332c6b15b3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7424,7 +7424,9 @@ let ncmpcpp = callPackage ../applications/audio/ncmpcpp { }; - MPlayer = callPackage ../applications/video/MPlayer { }; + MPlayer = callPackage ../applications/video/MPlayer { + pulseSupport = config.pulseaudio or false; + }; MPlayerPlugin = browser: import ../applications/networking/browsers/mozilla-plugins/mplayerplug-in {