diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-02-17 15:56:27 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-02-27 15:54:09 +0100 |
commit | 96739561b87db592716431953cfbbb614e8ff87a (patch) | |
tree | dc6c4bc4b8de6817ebaef260d24cf57fdf5ebec5 | |
parent | a516a0ba934c78a9ed317846362dbab8d0d788a8 (diff) | |
download | guix-96739561b87db592716431953cfbbb614e8ff87a.tar.gz guix-96739561b87db592716431953cfbbb614e8ff87a.zip |
scripts: repl: Extend REPL %load-path with all channels.
Fixes <https://bugs.gnu.org/61343>.
Reported by 宋文武 <iyzsong@envs.net>.
* guix/scripts/repl.scm (define-command): Before starting the REPL,
call 'current-profile' to populate (%package-module-path).
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | guix/scripts/repl.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/scripts/repl.scm b/guix/scripts/repl.scm index 787c63d48e..0b978ae35f 100644 --- a/guix/scripts/repl.scm +++ b/guix/scripts/repl.scm @@ -211,6 +211,7 @@ call THUNK." ((guile) (save-module-excursion (lambda () + (current-profile) ;populate (%package-module-path); see above (set-user-module) ;; Do not exit repl on SIGINT. ((@@ (ice-9 top-repl) call-with-sigint) |