biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / ulauncher / fix-extensions.patch
blobf6d00f9fafd592f2af463412dbfc91bfee62d805
1 diff --git a/ulauncher/api/server/ExtensionRunner.py b/ulauncher/api/server/ExtensionRunner.py
2 index 22042bf..f7b31c8 100644
3 --- a/ulauncher/api/server/ExtensionRunner.py
4 +++ b/ulauncher/api/server/ExtensionRunner.py
5 @@ -79,7 +79,7 @@ class ExtensionRunner:
6 cmd = [sys.executable, os.path.join(self.extensions_dir, extension_id, 'main.py')]
7 env = os.environ.copy()
8 env['ULAUNCHER_WS_API'] = self.extension_server.generate_ws_url(extension_id)
9 - env['PYTHONPATH'] = ':'.join(filter(bool, [ULAUNCHER_APP_DIR, os.getenv('PYTHONPATH')]))
10 + env['PYTHONPATH'] = ':'.join([ULAUNCHER_APP_DIR] + sys.path)
12 if self.verbose:
13 env['VERBOSE'] = '1'