From 96739561b87db592716431953cfbbb614e8ff87a Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Fri, 17 Feb 2023 15:56:27 +0100 Subject: scripts: repl: Extend REPL %load-path with all channels. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes . Reported by 宋文武 . * guix/scripts/repl.scm (define-command): Before starting the REPL, call 'current-profile' to populate (%package-module-path). Signed-off-by: Ludovic Courtès --- guix/scripts/repl.scm | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3