summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-08-17 15:32:11 +0200
committerLudovic Courtès <ludo@gnu.org>2026-08-21 16:00:23 +0200
commitbf1f18130f2b54a2bd1e8a57d6dae3a611573ee8 (patch)
tree21b33708548ee64094e6e2566f9ad0367daf5ac4 /doc
parent9e4c90ea160066d0b8e23c1e73450e2fc9f68bea (diff)
ui: Fix not finding compiled files when loading extensions
The Guix command load machinery was using 'load' with an absolute file name which meant that the compiled file would be searched under directories from 'GUILE_LOAD_COMPILED_PATH' using the absolute paths. For example: Given 'GUILE_LOAD_COMPILED_PATH=/path/to/site-ccache' '/<example>/guix/extensions/foo.scm' would be searched under '/path/to/site-ccache//<example>/guix/extensions/foo.scm', rather than ''/path/to/site-ccache/guix/extensions/foo.scm'. * guix/ui.scm (run-guix-command): Use 'resolve-interface' rather than 'load' with an absolute path to ensure that the compiled files can be found 'GUILE_LOAD_COMPILED_PATH' without the absolute path appended. (run-guix): Augment '%load-path' with GUIX_EXTENSIONS_PATH so extensions can be found using 'resolve-interface' rather than 'load' with an absolute path. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Merges: #10607
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions