diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2018-08-27 02:14:26 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2018-09-02 20:05:54 +0200 |
commit | 8670ee4689285dde42b0c84d94f91603ff65f8b6 (patch) | |
tree | 25c6c9178045d6b3d8d246237478a01697e80d0e /pkgs | |
parent | 5914624410d37f3f96560214609c4a0c73310d1d (diff) | |
download | nixpkgs-8670ee4689285dde42b0c84d94f91603ff65f8b6.tar nixpkgs-8670ee4689285dde42b0c84d94f91603ff65f8b6.tar.gz nixpkgs-8670ee4689285dde42b0c84d94f91603ff65f8b6.tar.bz2 nixpkgs-8670ee4689285dde42b0c84d94f91603ff65f8b6.tar.lz nixpkgs-8670ee4689285dde42b0c84d94f91603ff65f8b6.tar.xz nixpkgs-8670ee4689285dde42b0c84d94f91603ff65f8b6.tar.zst nixpkgs-8670ee4689285dde42b0c84d94f91603ff65f8b6.zip |
sc-controller: fix missing libbluetooth.so
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/misc/drivers/sc-controller/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/misc/drivers/sc-controller/default.nix b/pkgs/misc/drivers/sc-controller/default.nix index a13b49bd6cf..f1c4ff09157 100644 --- a/pkgs/misc/drivers/sc-controller/default.nix +++ b/pkgs/misc/drivers/sc-controller/default.nix @@ -1,6 +1,6 @@ { lib, buildPythonApplication, fetchFromGitHub, wrapGAppsHook , gtk3, gobjectIntrospection, libappindicator-gtk3, librsvg -, evdev, pygobject3, pylibacl, pytest +, evdev, pygobject3, pylibacl, pytest, bluez , linuxHeaders , libX11, libXext, libXfixes, libusb1, libudev }: @@ -24,14 +24,17 @@ buildPythonApplication rec { checkInputs = [ pytest ]; - patches = [ ./fix-udev.patch ]; + patches = [ + ./fix-udev.patch # fix upstream issue #401, remove with the next update + ]; postPatch = '' substituteInPlace scc/paths.py --replace sys.prefix "'$out'" substituteInPlace scc/uinput.py --replace /usr/include ${linuxHeaders}/include + substituteInPlace scc/device_monitor.py --replace "find_library('bluetooth')" "'libbluetooth.so.3'" ''; - LD_LIBRARY_PATH = lib.makeLibraryPath [ libX11 libXext libXfixes libusb1 libudev ]; + LD_LIBRARY_PATH = lib.makeLibraryPath [ libX11 libXext libXfixes libusb1 libudev bluez ]; preFixup = '' gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "$LD_LIBRARY_PATH") |