From: "Ludovic Courtès" <ludo@gnu.org>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: 61574@debbugs.gnu.org, Josselin Poiret <dev@jpoiret.xyz>,
61343@debbugs.gnu.org, iyzsong@envs.net,
Andrew Tropin <andrew@trop.in>
Subject: bug#61343: bug#61574: bug#61343: bug#61574: [PATCH v2] scripts: repl: Extend REPL %load-path with all channels.
Date: Fri, 03 Mar 2023 12:14:00 +0100 [thread overview]
Message-ID: <875ybixf2f.fsf@gnu.org> (raw)
In-Reply-To: <87cz5rdjew.fsf@gmail.com> (Simon Tournier's message of "Thu, 02 Mar 2023 20:48:07 +0100")
Simon Tournier <zimon.toutoune@gmail.com> skribis:
> 1 file changed, 3 insertions(+), 3 deletions(-)
> guix/scripts/repl.scm | 6 +++---
>
> modified guix/scripts/repl.scm
> @@ -27,7 +27,7 @@ (define-module (guix scripts repl)
> #:use-module (srfi srfi-37)
> #:use-module (ice-9 match)
> #:use-module (rnrs bytevectors)
> - #:autoload (guix describe) (current-profile)
> + #:autoload (gnu packages) (%package-module-path)
> #:autoload (system repl repl) (start-repl)
> #:autoload (system repl server)
> (make-tcp-server-socket make-unix-domain-server-socket)
> @@ -193,7 +193,7 @@ (define script
> ;; 'set-program-arguments'. This in turn ensures that
> ;; (%package-module-path) will contain entries for the channels
> ;; available in the current profile.
> - (current-profile)
> + (%package-module-path)
Per the comment right above, this change would break the program name
memoization, wouldn’t it?
Ludo’.
next prev parent reply other threads:[~2023-03-03 11:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-07 8:59 bug#61343: modules from channels is not available to "guix repl" 宋文武 via Bug reports for GNU Guix
2023-02-14 19:22 ` Simon Tournier
2023-02-16 21:14 ` bug#61343: [PATCH] scripts: repl: Load (gnu packages) to set up %load-path Josselin Poiret via Bug reports for GNU Guix
2023-02-17 3:09 ` 宋文武 via Bug reports for GNU Guix
2023-02-17 14:56 ` bug#61574: [PATCH v2] scripts: repl: Extend REPL %load-path with all channels Simon Tournier
2023-02-27 14:01 ` bug#61343: " Ludovic Courtès
2023-03-02 13:44 ` bug#61574: " Andrew Tropin
2023-03-02 19:48 ` bug#61343: " Simon Tournier
2023-03-03 11:14 ` Ludovic Courtès [this message]
2023-02-17 15:21 ` bug#61343: [PATCH] scripts: repl: Load (gnu packages) to set up %load-path Simon Tournier
2024-03-03 5:54 ` bug#61343: bug#61574: bug#61343: bug#61574: [PATCH] scripts: repl: Extend REPL %load-path with all channels. For real Richard Sent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875ybixf2f.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=61343@debbugs.gnu.org \
--cc=61574@debbugs.gnu.org \
--cc=andrew@trop.in \
--cc=dev@jpoiret.xyz \
--cc=iyzsong@envs.net \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.