From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oNjVCyH/xV9ldgAA0tVLHw (envelope-from ) for ; Tue, 01 Dec 2020 08:30:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6KGMByH/xV9ZHQAAbx9fmQ (envelope-from ) for ; Tue, 01 Dec 2020 08:30:25 +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 9B7A594023A for ; Tue, 1 Dec 2020 08:30:24 +0000 (UTC) Received: from localhost ([::1]:59854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kk13G-0003fm-Q6 for larch@yhetil.org; Tue, 01 Dec 2020 03:30:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk12w-0003fT-QJ for bug-guix@gnu.org; Tue, 01 Dec 2020 03:30:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kk12w-0001pN-IZ for bug-guix@gnu.org; Tue, 01 Dec 2020 03:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kk12w-0002sN-Dk for bug-guix@gnu.org; Tue, 01 Dec 2020 03:30:02 -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: Tue, 01 Dec 2020 08:30: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: notabug To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 44612-submit@debbugs.gnu.org id=B44612.160681137411001 (code B ref 44612); Tue, 01 Dec 2020 08:30:02 +0000 Received: (at 44612) by debbugs.gnu.org; 1 Dec 2020 08:29:34 +0000 Received: from localhost ([127.0.0.1]:57677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk12U-0002rN-Gp for submit@debbugs.gnu.org; Tue, 01 Dec 2020 03:29:34 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:44037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kk12T-0002r7-6D for 44612@debbugs.gnu.org; Tue, 01 Dec 2020 03:29:33 -0500 X-Originating-IP: 90.92.160.122 Received: from mimimi (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 6BA3360009; Tue, 1 Dec 2020 08:29:26 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <875z5mj73x.fsf@gnu.org> References: <87h7ptzj8t.fsf@ambrevar.xyz> <875z5mj73x.fsf@gnu.org> Date: Tue, 01 Dec 2020 09:29:25 +0100 Message-ID: <87k0u2rkt6.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.39 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-Migadu-Queue-Id: 9B7A594023A X-Spam-Score: -4.39 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: iA8jEpYQOLGt --=-=-= Content-Type: text/plain Indeed, it works perfectly now, I've implemented your suggestions and Nyxt is now running a "guix repl server" to which it sends all the requests. It's awesome! :) The only issue remaining is the weird behaviour that one has to pass /dev/stdin to get rid of the welcome message: echo '(display "Hi.\n")' | guix repl /dev/stdin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/F/uUSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/jn8H/1azkq9o934fuiBjN5xMPLaqEa/om712 Eynt45/ZyNUOUs4vzUWscKrfazpukPBoNTeB5l4u/YpOLS4hglh9U+rbTooJWyQn A2G4d09b/4PaPyM9hSa5MHwjBwvIMs/zpE9109aa0Z4TaGl8Hc7aOUR5ly2Lr9nN Bhk4k4VlA6bF2Nb9zNmUX9K6OkT+pEe2JoHJVbm3O1PYlJ7p1p5cQt+9MwvsD4z5 Fti2xG4AANXL842+IIizwQrVxSr0073Og2a0zII06fm8iz/HrX7K99p8DdBT2QOT EuTDMHQgxnLeksBAoUdYAVY+4K3mL/EF9gmmy0yALOH7l510ZX3JhQk= =JLmx -----END PGP SIGNATURE----- --=-=-=--