[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/10: scripts: repl: Extend REPL %load-path with all channels.
From: |
guix-commits |
Subject: |
03/10: scripts: repl: Extend REPL %load-path with all channels. |
Date: |
Mon, 27 Feb 2023 10:00:32 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 96739561b87db592716431953cfbbb614e8ff87a
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Fri Feb 17 15:56:27 2023 +0100
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>
---
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)
- branch master updated (2cf07434d8 -> cf9e0508b2), guix-commits, 2023/02/27
- 02/10: gexp: computed-file: Do not honor %guile-for-build., guix-commits, 2023/02/27
- 04/10: gnu: Add scheme48-prescheme., guix-commits, 2023/02/27
- 05/10: gnu: Add font-microsoft-cascadia., guix-commits, 2023/02/27
- 08/10: gnu: nvme-cli: Update to 2.3., guix-commits, 2023/02/27
- 07/10: gnu: Add libnvme., guix-commits, 2023/02/27
- 09/10: gnu: hwloc: Remove obsolete comments., guix-commits, 2023/02/27
- 10/10: gnu: hwloc: Skip failing test on non-x86 systems., guix-commits, 2023/02/27
- 01/10: pack: Make sure tests can run without a world rebuild., guix-commits, 2023/02/27
- 03/10: scripts: repl: Extend REPL %load-path with all channels.,
guix-commits <=
- 06/10: gnu: podman: Update to 4.4.1., guix-commits, 2023/02/27