From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GBDRKbwp42BIuQAAgWs5BA (envelope-from ) for ; Mon, 05 Jul 2021 17:48:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WHuJJbwp42DJYwAA1q6Kng (envelope-from ) for ; Mon, 05 Jul 2021 15:48: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 17AFF1B853 for ; Mon, 5 Jul 2021 17:48:12 +0200 (CEST) Received: from localhost ([::1]:44440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0QpO-0005CQ-Qz for larch@yhetil.org; Mon, 05 Jul 2021 11:48:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0QpG-0005C8-RH for guix-patches@gnu.org; Mon, 05 Jul 2021 11:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34979) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0QpG-0004Of-I0 for guix-patches@gnu.org; Mon, 05 Jul 2021 11:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0QpG-0006wf-E8 for guix-patches@gnu.org; Mon, 05 Jul 2021 11:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49419] [PATCH 1/4] home-services: Add most essential home services Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Jul 2021 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andrew Tropin , 49419@debbugs.gnu.org Received: via spool by 49419-submit@debbugs.gnu.org id=B49419.162550004926644 (code B ref 49419); Mon, 05 Jul 2021 15:48:02 +0000 Received: (at 49419) by debbugs.gnu.org; 5 Jul 2021 15:47:29 +0000 Received: from localhost ([127.0.0.1]:46525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0Qoj-0006vg-8N for submit@debbugs.gnu.org; Mon, 05 Jul 2021 11:47:29 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:42862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0Qoh-0006vV-IX for 49419@debbugs.gnu.org; Mon, 05 Jul 2021 11:47:28 -0400 Received: from butterfly.local ([188.189.1.51]) by laurent.telenet-ops.be with bizsmtp id RTnR25005161ovQ01TnR2C; Mon, 05 Jul 2021 17:47:26 +0200 Message-ID: <9ee31c62aef0a42b15b48ece2c1d0fe765fdcc83.camel@telenet.be> From: Maxime Devos Date: Mon, 05 Jul 2021 17:47:25 +0200 In-Reply-To: <87wnq4hivq.fsf@trop.in> References: <87y2akhiz1.fsf@trop.in> <87wnq4hivq.fsf@trop.in> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-PBWylzHqCTQHaeEZzIQb" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1625500046; bh=41cgcUDeX9pbpD9BOUewqG0qYLWS8j4aMrWZ1r4Iy3k=; h=Subject:From:To:Date:In-Reply-To:References; b=r8+zbdjO9yZ5pUb5ad9QI5hJ1jHIF3lzaPJXe8eALzo1BvEhHKxgHFfbrAHLeFu/t mWOJgyefcvGEubOozcUDK3NV10SactJwPS1aDcdB1ujTOs9544zk5gPe1JQS3zuDRY BZtLRnX8BCe1Eq0tXz3mAMlgrwIlQSgBLF1j/VIu4ywVI8Li06KFvSS51bbJ533Qrz y5tTKzOg8QYA9QLFnrunRbW8xkiIOssyGQ9fDCoESaXeLrKKEN1FJIBztOubw3j+y5 1RTZfwK1T/1RPzdf/ie/W1lSPZRFiNY0WXc0P72Klp3GX/5rUMGiZ9GSGElwbDx56p thEL2+WwPAUdg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625500092; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=41cgcUDeX9pbpD9BOUewqG0qYLWS8j4aMrWZ1r4Iy3k=; b=D8R05vh6zsmdz1lSJMG9ElRsc0de1w6l+5SYWGlFsu5SE4QwD3oIvVUnJBuD8fW42DgW1J 3byPWxGk+89rdRY6MDrmyk9CaAutSvVFD93YTz3z/2XTnlQkCp3zwepxJehDwYQR4wI3QM xPPEaCLyrY6iNk4vDZwFJlA1YqH7qEK0BXHu4TmQwmcyT+SyllZQMmp5nLH0ZMwBL2yibv KkBAkUVIRYD5QO/YUvjXDDQmCBbdTDByp2nundwn8on1LqottHTnp3n6VFF+qggE5sgq/0 F/IxTpMLy6Hu7PheU4X3WJvnx7Oy4YdVeiChsca1TTTG3RJmDbMVx0ImLx/SSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625500092; a=rsa-sha256; cv=none; b=p51uTG1OszJA0v4CzLxCyuugjn9dXSOT+hoo3gj5iAuta7fvIqmDFDyyDAwJ9pgALRA3e1 lSDIOtf07Ly+TwuI5LjDDBcRq+4I8PMwzZakfkdAkBgHqfdjxkTfRG0gkDsVI2W3JtYeaC VxSY159k/NGxIfG8cUjoZvy6g4/sktDqBH1D8JWi7PdOcTDB7V+xPYEqtOPgJDrigczP6D HDg7rlI36OHQJYtzCG80v0QK4gRP3IQDiYk+y2yCL4qhvlJeozll2hbDxjQ7Hlxsss5mY7 usV/i5Euy+8cyAMy6vs6CF+jGvxSxMbMjjxgeg9DdW9Y9GjHDIkMzmKP5v/adA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=r8+zbdjO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=r8+zbdjO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 17AFF1B853 X-Spam-Score: -3.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: t6YyIuciNkJX --=-PBWylzHqCTQHaeEZzIQb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Andrew Tropin schreef op ma 05-07-2021 om 18:37 [+0300]: > + (if (file-exists? (he-init-file new-home)) > + (let* ((port ((@@ (ice-9 popen) open-input-pipe) > + (format #f "source ~a && env" > + (he-init-file new-home)))) > + (result ((@@ (ice-9 rdelim) read-delimited) "" port)) > + (vars (map (lambda (x) > + (let ((si (string-index x #\=3D))) > + (cons (string-take x si) > + (string-drop x (1+ si))))) > + ((@@ (srfi srfi-1) remove) > + string-null? > + (string-split result #\newline))))) Why are you using @@ here? 'open-input-pipe', 'read-delimited' and 'remove= ' are exported variables, so you can just use @ instead of the magic evil @@ operator. =46rom the guile manual: -- syntax: @ module-name binding-name Refer to the binding named BINDING-NAME in module MODULE-NAME. The binding must have been exported by the module. -- syntax: @@ module-name binding-name Refer to the binding named BINDING-NAME in module MODULE-NAME. The binding must not have been exported by the module. This syntax is only intended for debugging purposes or as a last resort. *Note Declarative Modules::, for some limitations on the use of =E2=80=98@@= =E2=80=99. Greetings, Maxime. --=-PBWylzHqCTQHaeEZzIQb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYOMpjRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gQOAPsFGFgW0cLP4W/e7uwZbt03DBOA fxqtbIow4lZzBZnzuwEAudd2ldnndceENw+2HPKFVb7MVWUMg97zzFX4fXgADAc= =CSiP -----END PGP SIGNATURE----- --=-PBWylzHqCTQHaeEZzIQb--