Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / notify-py / darwin-paths.patch
blob3088825b9b9b741ed334c4ce708aecd3138a5206
1 diff --git a/notifypy/os_notifiers/macos.py b/notifypy/os_notifiers/macos.py
2 index 68731fb..53fcee3 100644
3 --- a/notifypy/os_notifiers/macos.py
4 +++ b/notifypy/os_notifiers/macos.py
5 @@ -75,7 +75,7 @@ class MacOSNotifier(BaseNotifier):
6 def _find_installed_afplay():
7 """Function to find the path for afplay"""
8 try:
9 - run_which_for_aplay = subprocess.check_output(["which", "afplay"])
10 + run_which_for_aplay = subprocess.check_output(["@which@", "afplay"])
11 return run_which_for_aplay.decode("utf-8")
12 except subprocess.CalledProcessError:
13 logger.exception("Unable to find aplay.")