mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
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>
This commit is contained in:
parent
a516a0ba93
commit
96739561b8
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ (define script
|
|||
((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)
|
||||
|
|
Loading…
Reference in a new issue