Search for ASDF configuration files first in user directories, and then in Guix profiles. diff -ru a/asdf-3.3.4.lisp b/asdf-3.3.4.lisp --- a/asdf-3.3.4.lisp 2020-02-14 20:16:22.000000000 +0100 +++ b/asdf-3.3.4.lisp 2020-12-05 11:09:56.066229482 +0100 @@ -12535,10 +12535,15 @@ (find-preferred-file (system-config-pathnames *output-translations-file*) :direction direction)) (defun user-output-translations-directory-pathname (&key (direction :input)) - (xdg-config-pathname *output-translations-directory* direction)) - (defun system-output-translations-directory-pathname (&key (direction :input)) - (find-preferred-file (system-config-pathnames *output-translations-directory*) + (find-preferred-file (list (xdg-config-home *output-translations-directory*)) :direction direction)) + (defun system-output-translations-directory-pathname (&key (direction :input)) + `(:output-translations + ,@(loop :for dir :in (filter-pathname-set + (xdg-config-dirs + "common-lisp/asdf-output-translations.conf.d/")) + :collect `(:include ,dir)) + :inherit-configuration)) (defun environment-output-translations () (getenv "ASDF_OUTPUT_TRANSLATIONS")) @@ -12921,10 +12926,15 @@ (find-preferred-file (system-config-pathnames *source-registry-file*) :direction direction)) (defun user-source-registry-directory (&key (direction :input)) - (xdg-config-pathname *source-registry-directory* direction)) - (defun system-source-registry-directory (&key (direction :input)) - (find-preferred-file (system-config-pathnames *source-registry-directory*) + (find-preferred-file (list (xdg-config-home *source-registry-directory*)) :direction direction)) + (defun system-source-registry-directory (&key (direction :input)) + `(:source-registry + ,@(loop :for dir :in (filter-pathname-set + (xdg-config-dirs + "common-lisp/source-registry.conf.d/")) + :collect `(:include ,dir)) + :inherit-configuration)) (defun environment-source-registry () (getenv "CL_SOURCE_REGISTRY")) r class='nohover'>AgeCommit message (Expand)Author 2024-06-03import: utils: End package descriptions with period....Herman Rimm 2023-05-31tests: Use quasiquoted 'match' patterns for package sexps....Ludovic Courtès 2023-05-31upstream: Replace 'input-changes' field by 'inputs'....Ludovic Courtès 2023-05-31tests: pypi: Rewrite tests using a local HTTP server....Ludovic Courtès 2023-05-31tests: pypi: Factorize tarball and wheel file creation....Ludovic Courtès 2023-04-30import: pypi: Adjust tests for new build system....Ludovic Courtès 2022-02-11tests: Adjust pypi test to recent changes....Ludovic Courtès 2022-01-26import: pypi: Convert hyphens to underscores in PyPI URLs if needed....Vivien Kraus 2021-11-18tests: Adjust opam and pypi tests to simplified inputs....Ludovic Courtès 2021-11-17Merge branch 'master' into core-updates-frozenLudovic Courtès 2021-11-11import: pypi: Allow imports of a specific version....Ludovic Courtès 2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe 2021-09-30import: pypi: Honor the 'upstream-name' package property....Xinglu Chen 2021-07-11import: pypi: Emit new-style package inputs....Ludovic Courtès 2020-07-25utils: Remove compatibility re-export of 'memoize'....Ludovic Courtès