unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob cb3313197cbcf86176e325fdc5dc570a91d0236b 575 bytes (raw)
name: gnu/packages/patches/gajim-honour-GAJIM_PLUGIN_PATH.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
--- a/gajim/common/configpaths.py	2020-11-19 12:12:02.004414323 +0100
+++ a/gajim/common/configpaths.py	2020-11-19 15:34:52.211476895 +0100
@@ -47,7 +47,7 @@
         return [Path(_paths['PLUGINS_BASE']),
                 Path('/app/plugins')]
     return [Path(_paths['PLUGINS_BASE']),
-            Path(_paths['PLUGINS_USER'])]
+            Path(_paths['PLUGINS_USER'])] + ([Path(os.getenv('GAJIM_PLUGIN_PATH'))] if os.getenv('GAJIM_PLUGIN_PATH') and Path(os.getenv('GAJIM_PLUGIN_PATH')).is_dir() else [])
 
 
 def get_paths(type_: PathType) -> Generator[str, None, None]:

debug log:

solving cb3313197c ...
found cb3313197c in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).