i3pystatus: fix libpulseaudio

This commit is contained in:
Igor Sharonov 2016-05-14 14:23:29 +03:00
parent da061d06f9
commit 7237ccfabc

View File

@ -14,7 +14,8 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [ keyring colour netifaces praw psutil basiciw ] ++
[ libpulseaudio ] ++ extraLibs;
ldWrapperSuffix = "--suffix LD_LIBRARY_PATH : \"${libpulseaudio}/lib\"";
libpulseaudioPath = stdenv.lib.makeLibraryPath [ libpulseaudio ];
ldWrapperSuffix = "--suffix LD_LIBRARY_PATH : \"${libpulseaudioPath}\"";
makeWrapperArgs = [ ldWrapperSuffix ]; # libpulseaudio.so is loaded manually
postInstall = ''