make blueman create the audio sink/source via pulse

svn path=/nixpkgs/trunk/; revision=28953
This commit is contained in:
David Guibert 2011-09-01 10:03:01 +00:00
parent e7418b271c
commit 754fb9cc29

View File

@ -1,6 +1,7 @@
{ stdenv, fetchurl, pkgconfig, intltool, python, pyrex, pygobject, pygtk
, notify, pythonDBus, bluez, glib, gtk, libstartup_notification
, makeWrapper, xdg_utils, obex_data_server
, pulseaudio
}:
stdenv.mkDerivation rec {
@ -27,6 +28,7 @@ stdenv.mkDerivation rec {
for i in $out/bin/* $out/libexec/*; do
wrapProgram $i \
--set PYTHONPATH "$(toPythonPath $out):$PYTHONPATH" \
--set LD_LIBRARY_PATH "${pulseaudio}/lib:" \
--prefix PATH : ${xdg_utils}/bin
done