From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OFXPNNPIWmeEFQAA62LTzQ:P1 (envelope-from ) for ; Thu, 12 Dec 2024 11:28:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OFXPNNPIWmeEFQAA62LTzQ (envelope-from ) for ; Thu, 12 Dec 2024 12:28:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=coquand.email header.s=fm1 header.b=PG0Y2iXS; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=M6aMc6DI; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=coquand.email ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734002899; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=rE2wr98d5Gy0HDMXq8ElASbfN9tOB2hkrFWCvM19oJI=; b=SmFlp0WBS5Q90MJ4FHIhZjzTjaMpKXA9INlaofzBBNgZ6sSrkr6nfDrI06Mbxgb3qUBhmC 5NJSkAOpA9zWsgyJbLWAVhe3ExrzerhnbWhVOgP5RGszhWsF710RVLd8OnzRrvQvCBtv+C nMR2xkcbcDTF9nAfCZhBB4jXvYk9qzqFK+PHMs9ptLKGnKERvLDfoAH2JGdkA6jnpr3h0S tLzbGkDAMiCCouND8EtuhrM4ZDojyE+ZewWDT/ObNsGJNErxJQQsltHFvgKUtZc4i4UW78 YL6/mP+5ip1IVD/rbAxMWZwvFwy1BiKr0WpRRKKqrV9k4xzyxlVfWAgy/hbb/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=coquand.email header.s=fm1 header.b=PG0Y2iXS; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=M6aMc6DI; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=coquand.email ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734002899; a=rsa-sha256; cv=none; b=HIfqhLXfOgnQrHg15WbRCk95subYNwiuasZmEY145NAbV/EQu82EZi6BV1vtIWIXa2D40B QcvZaKkoPjdTwMBaYRIjy9FQ5S4Gi+FXdhMUqgMZF8ylf590Pvk/HZxj0H9HC22G0j8zGc QLc2Imr1kqHs/y2Y5MgRkpf/uxG01lSRGNudr29OBRoqTthh5nNW5lhNAqmJRjg6YZD+xB ISopixvolmEzXgoznOpD0F+xeTZoOUPKM1v6JnddFD52Gt+AuN/qRHWvYQWbm13m3fs1Jo 7xoBvH0kwoKeSnUXdZX9UR+iR60LlJ6l/dyFSdkJtlC7kPnpGQmelgr0iDErZw== 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 3F6227D5D8 for ; Thu, 12 Dec 2024 12:28:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLhMD-0002vn-Qu; Thu, 12 Dec 2024 06:27:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLhMC-0002va-Br for help-guix@gnu.org; Thu, 12 Dec 2024 06:27:48 -0500 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLhM9-0000ZI-SI for help-guix@gnu.org; Thu, 12 Dec 2024 06:27:47 -0500 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id 7EC8411401ED; Thu, 12 Dec 2024 06:27:44 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Thu, 12 Dec 2024 06:27:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coquand.email; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm1; t=1734002864; x=1734089264; bh=rE 2wr98d5Gy0HDMXq8ElASbfN9tOB2hkrFWCvM19oJI=; b=PG0Y2iXSQHSo4OMx3a L0MRbxFOxladPnnCVQIHBzJdnYPmO2Rr4YOLLmJHiXr9TWA8Pr4nKy52jXaaYKFF 8PmAuGQt7gYFDPVtwEW++2NpdMdIAlLSlbXvPWmRyCgKozRyw5TxAVg/516+XDTs dk3Lap6lO71kRszW18LAkdiSelwVDVBJK6J7HXcH/VGxljJJDG+kXHdVCuQfI+wZ FUSR668ol7Cb/VmxD+12Axc0ONky5GAfG2iW8i5fn+U/sy7p2bi+2Ts+8/Flq9JI UApuNP7DuS6AUQG4eGeV7zq9pB4iP5X/plvlTOScqWQqQK2p7p6B0ycAKIbvdKMC A+Fg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1734002864; x=1734089264; bh=rE2wr98d5Gy0HDMXq8ElASbfN9tOB2hkrFW CvM19oJI=; b=M6aMc6DIEosEKzy1MevUs4b6Wo8vhPNDC9MagQYuQ6YxDkyJlDJ GwA9MaaV4ip1t5hHo+Zi4wK0luQ+30GprZLWuLnwaUZ+hMkkEmI2p5RePYuKuH0a N51vxAO9mipKjrxrVDJB9dmaEAw4yji5dm1+iYkibqDTleogbt9cyezo5y/xL3jO Ls/hZYBIcP9XrbvjQ865TCm3YC5TeZZHRYAEUawTTsdskX29lMJrR9Ln0dg/xSyy KLpEW5gxZ/yWMMHr02DScjIZocGbusW6dBG/0bYh/d5falV/26qf7Ky2tQOJQ5g9 KSxFL4TUf2DGiUpFq2SPNo+V/XP/+1mgLjQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrkeehgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhvfevufgjfffkgggtsehttdertddttddtnecuhfhr ohhmpeforghrtgcuvehoqhhurghnugcuoehmrghrtgestghoqhhurghnugdrvghmrghilh eqnecuggftrfgrthhtvghrnhepheetkeeftdegteeghfdutdekjedvteeffefhfeevvddt hfelffehheegvefggfeunecuffhomhgrihhnpegtohguvggsvghrghdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghrtgestgho qhhurghnugdrvghmrghilhdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouh htpdhrtghpthhtohepfhgvlhhigidrlhgvtghhnhgvrheslhgvrghsvgdquhhprdgtohhm pdhrtghpthhtohepvgguohhusehrughklhgvihhnrdhfrhdprhgtphhtthhopehhvghlph dqghhuihigsehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i587e488e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Dec 2024 06:27:41 -0500 (EST) From: Marc Coquand To: Felix Lechner Cc: edou@rdklein.fr, help-guix@gnu.org Subject: Re: Prepend string to "file" in G-expression In-Reply-To: <87ttbam2ju.fsf@lease-up.com> (message from Felix Lechner on Wed, 11 Dec 2024 11:40:05 -0800) Date: Thu, 12 Dec 2024 13:27:31 +0200 Message-ID: <87seqtm998.fsf@coquand.email> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.157; envelope-from=marc@coquand.email; helo=fhigh-a6-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -3.09 X-Spam-Score: -3.09 X-Migadu-Queue-Id: 3F6227D5D8 X-TUID: qGxRhIrJ3J1q That works well, thanks! -- Marc On Wed, Dec 11 2024, Felix Lechner wrote: > Hi Marc, > > On Wed, Dec 11 2024, Marc Coquand wrote: > >> Essentially what I'm trying to do is build a program that sends an >> email, and then package it in Guix. > > Maybe you could pipe an appropriately formatted text to 'sendmail'? > Here is an example. [1] > > Kind regards > Felix > > [1] https://codeberg.org/lechner/system-config/src/commit/4335818ba8da818f21810b5b402db51c77d3b344/host/wallace-server/operating-system.scm#L899-L908