From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mO6CD+yN/mFgawEAgWs5BA (envelope-from ) for ; Sat, 05 Feb 2022 15:47:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oIvNC+yN/mFilgAAauVa8A (envelope-from ) for ; Sat, 05 Feb 2022 15:47:08 +0100 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 EB81235BBE for ; Sat, 5 Feb 2022 15:47:07 +0100 (CET) Received: from localhost ([::1]:55846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGMLD-00037U-5s for larch@yhetil.org; Sat, 05 Feb 2022 09:47:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGMK6-0002mI-9h for guix-devel@gnu.org; Sat, 05 Feb 2022 09:46:00 -0500 Received: from h178-251-242-94.cust.a3fiber.se ([178.251.242.94]:49180 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGMJs-0007jn-IY; Sat, 05 Feb 2022 09:45:47 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1644072215; bh=/Xos8eKvg1s1YoGMs70OXkfqiy9R+Y4etVCTSCifbe4=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=Q0ZD3BnRFpNSzCo+6sAuZnn88otVfZhMKSxib0haRWUqHETJhYO8qBbKAjrY0gdBJ EmJq34k2m71lXhKtfyXP0enIA0zxR0xCcfmoLUptGk0pwT6p6Rg+cWh3Z1ZyJt7HO+ bsnAMeYtgHpAFii5fB7dRB9+TOXXQIZki+mfNuCU= To: Andrew Tropin , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Return back original implementation for text-config serialization In-Reply-To: <87o846y24v.fsf@trop.in> References: <878rvp1deg.fsf@trop.in> <87mtjtglxd.fsf@gnu.org> <87o846y24v.fsf@trop.in> Date: Sat, 05 Feb 2022 15:43:34 +0100 Message-ID: <87zgn5e5m1.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=178.251.242.94; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 10 X-Spam_score: 1.0 X-Spam_bar: + X-Spam_report: (1.0 / 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, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.625, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, guix-maintainers@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644072428; 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: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/Xos8eKvg1s1YoGMs70OXkfqiy9R+Y4etVCTSCifbe4=; b=HhnYVl5A+WMH3+aMzFCQ5IAgRUQBz3iziG0QUIK6n8Hmm/WvIZxpRCDzxoNjUNd8CIvG6R ERXDPfX3/EnlkLOnboV6rUW/0EGm6+mwK90Yppko39YIXBfFYGXLBzhmrgR9eRuawGjLbB iVxDsA17gTSA37eBfnO2+lMcQJnYOwcqo5rMC+otgiw1idd7lHUaVIvt4hCFX9MbuOW4T4 wBDtv1OJm5ByLrNl/qPqAOgUCVqbZ7pKAkGyYm1HHKL0D7JHPlvFuj4ATCO7EMsXhLvQda 6s3hpTFce2qlS8uhPxoJ+4XfZVFPxvMs7BHyoTq6SoPMTmGNBizes2icRqKt4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644072428; a=rsa-sha256; cv=none; b=HPFnoAkOIarmBn7DeePiT+gNfh9918peOqhrOlO2sH9Sp1dUqVs6dRt89YRCkj0aiWBAJU JvDgIYsrTUdfKUlemOw1qf664OJdWuw8tdsTME8bENjo3yZvvwrH4lahjyfx1UzKWanUSL 59dZp7FY1y1kVdP9GpRdhVQXCD0ag6vsAM+W0lHAvdrnZxeXD/t3ncL+NoBWcOXFB6t+MI zoGoDuKJKpkY01+CmH+EUfwSOaIZR47hTTABSV8UA1FOAR9iQyfto9Xgn2Cf1Gwz1wh3lb B97wuU8P0sqdIAb9DgbNoIZoBIHJUhgQ6MytVd0XC0CG1dZV+w7DUcLFB4njhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yoctocell.xyz header.s=mail header.b=Q0ZD3BnR; dmarc=pass (policy=none) header.from=yoctocell.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yoctocell.xyz header.s=mail header.b=Q0ZD3BnR; dmarc=pass (policy=none) header.from=yoctocell.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EB81235BBE X-Spam-Score: -6.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: H/n88bEgSknj --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Andrew schrieb am Donnerstag der 20. Januar 2022 um 16:20 +03: >>> 2. Looks strange implementation-wise. >>> >>> If we want to insert the file path to file-like object for new-style >>> text-config internally we do something like >>> >>> (mixed-text-file ... >>> "source \" "\n" >>> #~(read-everything-from-file >>> #$(computed-file "unecessary-file-name" >>> #~#$(local-file "blabla.sh")))) >> >> When would one write such a thing? > > I have very same question :) > > It's what happens internally in current implementation, something like > that goes to home-files-service-type. From=20what I can tell, =E2=80=98home-files-service-type=E2=80=99 doesn=E2= =80=99t seem to have anything like that. I am not able to find any usages for =E2=80=98computed-file=E2=80=99 in Guix Home services either. I am missing= something? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmH+jRYVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5pCsP/jchx9VSdY03Vnjb81AKOJGEseP0 KHzLvCo2b8rECRfcNTYI2tleZtEd/2vXijjIsJM++AxVGAz5clEYBXNKjIGLDbQ9 u9oGe/CGn1J6XfuxOl7x/W4mv8dSYp7YBhyMsYKBUOpIVsGZDp6YZO2m4WDuVvOj zXoiXo/l2g7kszC7y34g7gp3zsYoKi1frJJVX2IcBHySO+bKKf0xiyiyj31RUR+V o7CDZXK5dMI+sii2kHcfezXV3P8NAJ4ZXk8GPyBYvxCeJI794U5caZ1A7tZcRSmZ syhn7DjSGPoyP132E+yhtdbotcL7tLfCNW+Uo0OOtIQWUds4hKh+DE4p3fg1gD2C 5+j6n8fT/6XNVuhRUg0Coeg4ErtxHczQBs8OGEPxbl8d+hwhy+5P0YmGK+LJHqyH HVXs+PT9it7gjTB+MOJeRj73Lioz1riZ+8SZLXvosRg/X96SdJ2zexuYr/h0GpLO fijBCYcWwNKdVkKLPN568E4k5o+p0PyfElvrwiow2P7WE6zofQb5Xe4diY9FZqXD Ms4SC+vgpxKDMlaLYE45v4js9mMkRlHYkmu2em2TjDL5uh2v4YDWPRxFkF1TKNww SEidBSyG8bOs0bJFSle01S86YAZLZcrn34COfTk2L8k4oPUQcihZ42dfoXMylYOL uOxTgDVzPWuO/gRp =8Yx8 -----END PGP SIGNATURE----- --=-=-=--