From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:57096) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEYpv-0005hA-B9 for guix-patches@gnu.org; Sun, 29 Sep 2019 09:02:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEYpu-0000JJ-8j for guix-patches@gnu.org; Sun, 29 Sep 2019 09:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43766) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEYpu-0000J8-4P for guix-patches@gnu.org; Sun, 29 Sep 2019 09:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEYpu-000241-0q for guix-patches@gnu.org; Sun, 29 Sep 2019 09:02:02 -0400 Subject: [bug#37553] [PATCH] inferior: Change to using guix-repl. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:57048) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEYpW-0005Yf-Ag for guix-patches@gnu.org; Sun, 29 Sep 2019 09:01:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEYpS-0008HN-B4 for guix-patches@gnu.org; Sun, 29 Sep 2019 09:01:38 -0400 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:57078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iEYpP-0008BL-2X for guix-patches@gnu.org; Sun, 29 Sep 2019 09:01:33 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 6940617450 for ; Sun, 29 Sep 2019 14:01:28 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id d1900893 for ; Sun, 29 Sep 2019 13:01:28 +0000 (UTC) From: Christopher Baines Date: Sun, 29 Sep 2019 14:01:28 +0100 Message-Id: <20190929130128.18484-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: 37553@debbugs.gnu.org Rather than machine-repl, that was removed in [1]. While this could work = if the %load-path is such that a module that defines machine-repl is loaded,= I believe the intent is that the (guix scripts repl) module comes from the = Guix managing the inferior. Therefore, matching the changes in [1], switch to calling the guix-repl function with the right arguments. 1: 92a4087bf4862d5ba9b77111eba3c68c2a1c4679 * guix/inferior.scm (inferior-pipe): Call guix-repl, rather than machine-= repl, and add necessary arguments. --- guix/inferior.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/inferior.scm b/guix/inferior.scm index dcbc954432..7c0143062b 100644 --- a/guix/inferior.scm +++ b/guix/inferior.scm @@ -137,7 +137,8 @@ it's an old Guix." `(begin (primitive-load ,(search-path %load-path "guix/scripts/re= pl.scm")) - ((@ (guix scripts repl) machine-repl)))))) + ((@ (guix scripts repl) guix-repl) + "-t" "machine"))))) pipe))) =20 (define* (port->inferior pipe #:optional (close close-port)) --=20 2.23.0