From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id NHTIAUHpr1++BgAA0tVLHw (envelope-from ) for ; Sat, 14 Nov 2020 14:27:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6CyyOEDpr1+3eAAA1q6Kng (envelope-from ) for ; Sat, 14 Nov 2020 14:27:12 +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 901129405D4 for ; Sat, 14 Nov 2020 14:27:12 +0000 (UTC) Received: from localhost ([::1]:56394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdwWF-0005xN-Gm for larch@yhetil.org; Sat, 14 Nov 2020 09:27:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdwW6-0005wv-UM for bug-guix@gnu.org; Sat, 14 Nov 2020 09:27:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdwW6-0006AP-LI for bug-guix@gnu.org; Sat, 14 Nov 2020 09:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdwW6-00064Y-Iq for bug-guix@gnu.org; Sat, 14 Nov 2020 09:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44612: Read standard input in `guix repl' Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 14 Nov 2020 14:27:02 +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: Pierre Neidhardt , Tobias Geerinckx-Rice Received: via spool by 44612-submit@debbugs.gnu.org id=B44612.160536399723280 (code B ref 44612); Sat, 14 Nov 2020 14:27:02 +0000 Received: (at 44612) by debbugs.gnu.org; 14 Nov 2020 14:26:37 +0000 Received: from localhost ([127.0.0.1]:50185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdwVh-00063Q-57 for submit@debbugs.gnu.org; Sat, 14 Nov 2020 09:26:37 -0500 Received: from mail-wm1-f45.google.com ([209.85.128.45]:56094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdwVd-00063A-Ux for 44612@debbugs.gnu.org; Sat, 14 Nov 2020 09:26:35 -0500 Received: by mail-wm1-f45.google.com with SMTP id c9so18735828wml.5 for <44612@debbugs.gnu.org>; Sat, 14 Nov 2020 06:26:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=6T7akRAqq/N2aN2Arn87yaua2v2spHDwGZ98oXHW0dU=; b=U7V5P0wzxbvpcHAGSD3hRjb8Nt1LoEGwEMfPy/mR4D1hiJVSmkVXVlDXD6OJ68RlVC LFhZy/sXgaEKHPAQQxd6s8OJOoxQN12ohN3Ndgn/N/PD0MDtPc6V55FUTte9Vogfm74l SBneNK/EvvFDtUx3RMmZ6zvUgyNugbFEmw/a3vW/s8UHRUZu1ZmnUO2n4O5Mi8DPMFh8 jBer+kHHsDbaAl7w+5/UTOrCRrfFQJ6SKnA75ebDnNVC2rpWx2hMvIFc4bnufJHezF9G Sc8ZsAXUxOy8dygOxhjvy5Uzg4G+HNqhc1Sc2TaiRjs9/trTj/kgbhKp/PABwClGmPVu PUTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=6T7akRAqq/N2aN2Arn87yaua2v2spHDwGZ98oXHW0dU=; b=dfhJ59RMmJ9k9j1XcYtSVUrxEBovPBzcwCb3NObfL6nJN+rzPQermlr5y3bXy7H7Vb 9NzwjWsCHVDGwf7FFLWcFSgxmy7KVQBcjaD8QWcCyBlKqXk+ad+fcZTFW02isg6NbjNO WmL94SAL//j/wvO1x8fiCnDxuldPzKjRkzLtGsRA5WHdNqxnB7J2AlfuHYmpmoSeqr3v zKbSKLjx5thA4VcXWNsa6PUGzEeuv8eQjszMQdaSRIteP1niyu7pLWWT7kK4felAaD8c QFeZGxI0htcdI9Ib9kfJXh/cutKLmkhI9CcUE8MhQjP1kvYDg3bCeF5yWJIUofjnmpgq VDeQ== X-Gm-Message-State: AOAM531d8iik9mto5tdCs7HNlyyhEBMRrHgIKaJHyiWTgIXRh/Zt1aTM J92hoecf1zg44S/gFKcDpzH405UJ/egsRQ== X-Google-Smtp-Source: ABdhPJwD9KH5xZ8r2CLBkgyJbRPtu7YY2qgQ8rgykAYKYuptx82YvMK0L0hQ8ykA6uP6UYnUjBUdQQ== X-Received: by 2002:a7b:cf1a:: with SMTP id l26mr7160888wmg.18.1605363987749; Sat, 14 Nov 2020 06:26:27 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id m3sm10741590wrv.6.2020.11.14.06.26.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Nov 2020 06:26:27 -0800 (PST) From: zimoun In-Reply-To: <87h7ps8duy.fsf@ambrevar.xyz> References: <87h7ptzj8t.fsf@ambrevar.xyz> <87zh3l6lzk.fsf@nckx> <87h7ps8duy.fsf@ambrevar.xyz> Date: Sat, 14 Nov 2020 13:09:54 +0100 Message-ID: <86a6vkywa5.fsf@tournier.info> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 1.0 (+) 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=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=U7V5P0wz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.09 X-TUID: YSNC2e4nB+5l Hi Pierre, On Sat, 14 Nov 2020 at 10:52, Pierre Neidhardt wrote: > Tobias Geerinckx-Rice writes: > >> A magic =E2=80=98-=E2=80=99 alias is nice, providing =E2=80=98guix repl = -- -=E2=80=99 still DTRT=20 >> (I know, who does that, but still). >> >> But why can't you just pipe your input into =E2=80=98guix repl=E2=80=99 = now? > > It does not work now, I haven't looked at the details. It does with the plain shell pipe =E2=80=99|=E2=80=99: --8<---------------cut here---------------start------------->8--- $ echo 42 | guix repl GNU Guile 3.0.4 Copyright (C) 1995-2020 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. $1 =3D 42 scheme@(guix-user)> $=20 --8<---------------cut here---------------end--------------->8--- Another example here: Please look at the details. All the best, simon