From 7237ccfabcad37812423ff1861ee0fa5d4dd2f2a Mon Sep 17 00:00:00 2001 From: Igor Sharonov Date: Sat, 14 May 2016 14:23:29 +0300 Subject: [PATCH] i3pystatus: fix libpulseaudio --- pkgs/applications/window-managers/i3/pystatus.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/i3/pystatus.nix b/pkgs/applications/window-managers/i3/pystatus.nix index 291f5dbe9d94..8754a14d4a43 100644 --- a/pkgs/applications/window-managers/i3/pystatus.nix +++ b/pkgs/applications/window-managers/i3/pystatus.nix @@ -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 = ''