From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42362) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipXjJ-0008Td-22 for guix-patches@gnu.org; Thu, 09 Jan 2020 08:20:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipXjH-000789-UM for guix-patches@gnu.org; Thu, 09 Jan 2020 08:20:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45961) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipXjH-00073H-HJ for guix-patches@gnu.org; Thu, 09 Jan 2020 08:20:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ipXjG-0004wB-BS for guix-patches@gnu.org; Thu, 09 Jan 2020 08:20:02 -0500 Subject: [bug#38678] what about "guix repl"? Resent-Message-ID: MIME-Version: 1.0 References: <871rs9y6y8.fsf@ambrevar.xyz> In-Reply-To: <871rs9y6y8.fsf@ambrevar.xyz> From: zimoun Date: Thu, 9 Jan 2020 14:19:41 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Pierre Neidhardt Cc: 38678@debbugs.gnu.org Hi Pierre, On Wed, 8 Jan 2020 at 22:27, Pierre Neidhardt wrote: > > I'd say yes, even though it has limited benefits. > In `guix repl`, you can see the load path with > > --8<---------------cut here---------------start------------->8--- > %load-path > --8<---------------cut here---------------end--------------->8--- > > The --load-path option would essentially be the same as appending the > path to the %load-path variable from the REPL. Agree. Note that 'guile' has the option too: " -L DIRECTORY add DIRECTORY to the front of the module load path" Well, I send 2 patches about "guix repl": 1. adding the 'load-path' option; 2. adding the option '--listen' in the message outputted by '--help'. Feel free to review and push if everything appear to you correct. Cheers, simon