Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / notify-py / linux-paths.patch
blob19965f33996fe7118ee1a10a85c6ae140473b54a
1 diff --git a/notifypy/os_notifiers/linux.py b/notifypy/os_notifiers/linux.py
2 index 5882481..e26eaaf 100644
3 --- a/notifypy/os_notifiers/linux.py
4 +++ b/notifypy/os_notifiers/linux.py
5 @@ -10,7 +10,7 @@ try:
6 from jeepney.io.blocking import open_dbus_connection
7 from shutil import which
9 - NOTIFY = which('notify-send') # alternatively: from ctypes.util import find_library
10 + NOTIFY = '@notifysend@' # alternatively: from ctypes.util import find_library
12 if NOTIFY:
13 logger.info("libnotify found, using it for notifications")
14 @@ -22,7 +22,7 @@ try:
15 else:
16 raise ImportError
18 - APLAY = which('aplay')
19 + APLAY = '@aplay@'
21 if APLAY == None:
22 logger.debug("aplay binary not installed.. audio will not work!")