Make trytond add all paths listed in GUIX_TRYTOND_MODULES_PATH to sys.path. *** a/trytond/modules/__init__.py 1970-01-01 01:00:01.000000000 +0100 --- b/trytond/modules/__init__.py 2021-12-02 22:17:28.014612267 +0100 *************** *** 31,36 **** --- 31,48 ---- EGG_MODULES = {} + def __extend_python_path__(): + tryton_python_path = os.environ.get("GUIX_TRYTOND_MODULES_PATH") + if tryton_python_path: + paths = [path[:-16] # remove "/trytond/modules" + for path in tryton_python_path.split(os.pathsep)] + sys.path.extend(paths) + # ensure new paths are in the pkg_resources WorkingSet + import pkg_resources + list(map(pkg_resources.working_set.add_entry, paths)) + + __extend_python_path__() + def update_egg_modules(): global EGG_MODULES l > Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/openldap.scm
AgeCommit message (Expand)Author
2020-10-19Merge branch 'staging'...Conflicts: gnu/packages/admin.scm gnu/packages/commencement.scm gnu/packages/gdb.scm gnu/packages/llvm.scm gnu/packages/package-management.scm gnu/packages/tls.scm Maxim Cournoyer
2020-09-22gnu: python-ldap: Update to 3.3.1....* gnu/packages/openldap.scm (python-ldap): Update to 3.3.1. Marius Bakke
2020-07-27gnu: openldap: Remove graft....* gnu/packages/openldap.scm (openldap): Update to 2.4.50. Remove replacement. (openldap-2.4.50): Remove variable. Jakub Kądziołka
2020-04-30Merge branch 'master' into core-updates... Conflicts: gnu/local.mk gnu/packages/backup.scm gnu/packages/emacs-xyz.scm gnu/packages/guile.scm gnu/packages/lisp.scm gnu/packages/openldap.scm gnu/packages/package-management.scm gnu/packages/web.scm gnu/packages/xorg.scm Marius Bakke
2020-04-29gnu: OpenLDAP: Update to 2.4.50 [fixes CVE-2019-{13057,13565}]....* gnu/packages/openldap.scm (openldap)[replacement]: Use openldap-2.4.50. (openldap/fixed): Replace with ... (openldap-2.4.50): ... new variable. * gnu/packages/patches/openldap-CVE-2020-12243.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Leo Famulari
2020-04-28gnu: openldap: Fix CVE-2020-12243....* gnu/packages/openldap.scm (openldap)[replacement]: New field. (openldap/fixed): New variable. * gnu/packages/patches/openldap-CVE-2020-12243.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Efraim Flashner
2020-03-13gnu: OpenLDAP: Remove unused input....* gnu/packages/openldap.scm (openldap)[inputs]: Remove ICU4C. Marius Bakke