diff options
Diffstat (limited to 'x11-terms/kitty/files/kitty-0.20.1-tests.patch')
-rw-r--r-- | x11-terms/kitty/files/kitty-0.20.1-tests.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-terms/kitty/files/kitty-0.20.1-tests.patch b/x11-terms/kitty/files/kitty-0.20.1-tests.patch new file mode 100644 index 000000000000..210898b888d9 --- /dev/null +++ b/x11-terms/kitty/files/kitty-0.20.1-tests.patch @@ -0,0 +1,11 @@ +--- a/kitty/constants.py ++++ b/kitty/constants.py +@@ -64,7 +64,7 @@ + def kitty_exe() -> str: + rpath = sys._xoptions.get('bundle_exe_dir') + if not rpath: +- items = os.environ.get('PATH', '').split(os.pathsep) + [os.path.join(kitty_base_dir, 'kitty', 'launcher')] ++ items = os.environ.get('PATH', '').split(os.pathsep) + [os.path.join(kitty_base_dir, '../linux-package/bin')] + seen: Set[str] = set() + for candidate in filter(None, items): + if candidate not in seen: |