From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8AJWL2posl+iCQAA0tVLHw (envelope-from ) for ; Mon, 16 Nov 2020 11:54:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IFE2K2posl/7CQAAB5/wlQ (envelope-from ) for ; Mon, 16 Nov 2020 11:54:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 504139402A7 for ; Mon, 16 Nov 2020 11:54:18 +0000 (UTC) Received: from localhost ([::1]:35728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ked5M-0006pQ-US for larch@yhetil.org; Mon, 16 Nov 2020 06:54:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ked58-0006o6-AN for bug-guix@gnu.org; Mon, 16 Nov 2020 06:54:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ked57-0000z5-Lq for bug-guix@gnu.org; Mon, 16 Nov 2020 06:54:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ked57-0007Vo-IL for bug-guix@gnu.org; Mon, 16 Nov 2020 06:54:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44612: Read standard input in `guix repl' Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 16 Nov 2020 11:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44612 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Bengt Richter Received: via spool by 44612-submit@debbugs.gnu.org id=B44612.160552763828867 (code B ref 44612); Mon, 16 Nov 2020 11:54:01 +0000 Received: (at 44612) by debbugs.gnu.org; 16 Nov 2020 11:53:58 +0000 Received: from localhost ([127.0.0.1]:55292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ked53-0007VW-M5 for submit@debbugs.gnu.org; Mon, 16 Nov 2020 06:53:58 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:36233) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ked50-0007VD-Tg for 44612@debbugs.gnu.org; Mon, 16 Nov 2020 06:53:56 -0500 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 9988720007; Mon, 16 Nov 2020 11:53:48 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87wnylbkkd.fsf@ambrevar.xyz> References: <87h7ptzj8t.fsf@ambrevar.xyz> <20201113190830.GA2995@LionPure> <87blfx1wmf.fsf@gnu.org> <87wnylbkkd.fsf@ambrevar.xyz> Date: Mon, 16 Nov 2020 12:53:47 +0100 Message-ID: <87tutpbjqs.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.4 (++) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 2.4 (++) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44612@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.61 X-TUID: RGx/GcDzIFu/ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable If I understand correctly, "-t machine" is for when we want to retrieve the results of all top-level evaluations. If we only want specific results, then we are better off "passing" the desired value to the caller by dumping them to the standard output. For the latter, "-t machine" is not necessary I believe. Is this correct? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl+yaEsSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/q1oIAKaupmfSZqF/apJoaNFk2nHeTPCTicTP X8Fa0f2xgwanoXb9nxtLcP9sYwl6vlY7o+EOvC7ptzaWIrxZXERex7znL/Yflco5 35IbaOxYjFrU3+5uvaWhNCbmaEgH2fmWqIqycXOeQkJHBIjq0TIIOx+ss/Ef3Qnw Ks5iMkwCayHa5pmp+84kXFjNVypo0QcM4m5mYd13iiSd7YjNGNRnWILT1ZPBXD0T NtxyidjDyDlO9PF5rOLPXjS/OpkLH9rrGzIMX/VXFTZbASHiB8UmHzDdf7ItJYMM k1ckLod2Uv5hB8Cg3X6GJWCT6YP47FMA8wKgjFHHsy+cgMUKOULw6tQ= =gcZr -----END PGP SIGNATURE----- --=-=-=--