From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6HvZF4dXqmKPzAAAbAwnHQ (envelope-from ) for ; Thu, 16 Jun 2022 00:04:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6IDzFodXqmL2CAAAG6o9tA (envelope-from ) for ; Thu, 16 Jun 2022 00:04:55 +0200 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 08D8C330B7 for ; Thu, 16 Jun 2022 00:04:55 +0200 (CEST) Received: from localhost ([::1]:35550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1b8A-0007Ey-08 for larch@yhetil.org; Wed, 15 Jun 2022 18:04:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1b7t-0007En-Ch for guix-devel@gnu.org; Wed, 15 Jun 2022 18:04:37 -0400 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]:47158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1b7r-00012k-As for guix-devel@gnu.org; Wed, 15 Jun 2022 18:04:37 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id ja4W2700L4UW6Th01a4XSs; Thu, 16 Jun 2022 00:04:31 +0200 Message-ID: Subject: Re: how to write services (was: Re: Teams) From: Maxime Devos To: Blake Shaw Cc: guix-devel@gnu.org Date: Thu, 16 Jun 2022 00:04:25 +0200 In-Reply-To: References: <87a6as62r2.fsf@elephly.net> <87ilpfwmi0.fsf@jpoiret.xyz> <877d5j5vng.fsf@trop.in> <87a666663179c883aaa1797b62c3bcb0084d3ebb.camel@gmail.com> <87bkuuyqf9.fsf@elephly.net> <6aca367bce796a4856ef583cc65bfae22d946691.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-pBwyY1J69+oXfkBjkoAi" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1655330671; bh=pg3o0JT/udnWWLQlrORoP47+NRWJZtli5tapNGYTrqk=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Gun9IvZ/j2LxGtfJW5SMLchfd/x3BxZB4nucKQ4dPAYO2XUn4ZzsSk4slcV8is0op 0Nm2UKdf1ZyzOfGqkuP7La40rszus31aRdpGXt4P54g3Ti1MU5vUV+930OQuXHGB6J H8lFSPKtfp+aaRWMq/cBK5jeYrtq/sI+KFXD4qoKwQL/LLiL5i3Zqbg9ZbA5cWctOT joSf0/PlDVf2vhulu01Kxq8liFozDcNCr0mSUN4N+fV5Iv1rTyglAIFAWnxe8Y8VgR /Xd8q4n+lyuWbVrLBZRbkkJRj9kb1K8EyPGIAIK6rkYazKjNrG5H7IP1XEr1EKNOC2 aKYxMefBEz50Q== Received-SPF: pass client-ip=2a02:1800:110:4::f00:19; envelope-from=maximedevos@telenet.be; helo=laurent.telenet-ops.be 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655330695; 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=pg3o0JT/udnWWLQlrORoP47+NRWJZtli5tapNGYTrqk=; b=rICOSVEFO1qcBgsgc4mPv02vgoAcYdc/HhXjtyGICvW5B4h2ZL94fs1066Kx970nhmu74F P4y5C9VL3uhypEkwe2ep4jTLIUoewutuPjQ010EGSI49qXG8CuFPQBW62dbnKjj9GQNiLN MVFI/Hdz/cLJzf7TxG931HZNmG8JTK8suUSnhH3tU9hIaaJDSlVGBa8gI+e2AkoriWAs1t CEshfma5a/X9/793BZ2EZXG8ZtZE035sZ84/BuJcchc5rwSf9vKu5nkD56j5mbPRWhLH2J hIWqqM+rdIuYVFr5tSTnDCeXCDHhDkzwixFKyXRs7jB9FfSZuc2/bw/3I80azw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655330695; a=rsa-sha256; cv=none; b=VgBQWh7ThO5qdRGuhvPNFmd+JWvbcZrEmUhKIO5p5+B28+UdX25OR4s5guLUKZqad00DyK KxBAy91gwPcxmIx8zabZorOV9La78jKKzyf+jaDWkSKboqWNOZFVjVRnqbBXksdXNZfQJ1 lCjpJeHYOMza9Si/Y3aciaTsEPP3K61XCDBbBLvjZCObSQEVDJ3EAKbO4kGTo38KzKs2zh 7kfQR+m8etn7AjogebzVAam6G1kkr0BS1H2AxXkQoeOPRJzYHgIQ3uYk1NDC/T4senbV65 mnhHCokkz7oTp9yZdhBvs/2eAJMPpqxf0poz26d/Nqkn1SoQfDBZtpyLexZS5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b="Gun9IvZ/"; dmarc=pass (policy=none) header.from=telenet.be; 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.19 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b="Gun9IvZ/"; dmarc=pass (policy=none) header.from=telenet.be; 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: 08D8C330B7 X-Spam-Score: -6.19 X-Migadu-Scanner: scn1.migadu.com X-TUID: Q01VZBPqRI2S --=-pBwyY1J69+oXfkBjkoAi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Blake Shaw schreef op wo 15-06-2022 om 21:40 [+0000]: > > Something I dislike about the =E2=80=98file AND file-like objects=E2=80= =99 > > construction > > is that it suggests that files and file-like objects are separate > > and > > are handled separately, whereas files (as in, 'local-file' or > > 'computed-file') are just another case of file-like objects to Guix > > (next to 'file-append', 'package', 'git-checkout', ...).=C2=A0 > > Furthermore, > > usually file-like objects aren't files but more often they are > > packages. >=20 > Going off the packages example, are they not often handled=C2=A0 > differently? While I may want to (load "gnu/packages/base.scm"), > a file, Files can be loaded by Guile, yes. > a that I can work with , That's not a file, it's a package record. You ca > as a record I=20 > will get an error if I've included (gnu packages base) in my module > and then try to invoke (load coreutils), although its defined. >=20 > But I think i'm missing your point here. --=-pBwyY1J69+oXfkBjkoAi 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+4iGRcl7gUCYqpXaRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7n4xAQDaefUFVg5ELsdQm8GGnK8cX2pI 2kGDx65t76Hz7bWIhgD/TUh1fqWrD39CPqbH/5SG1brfGVaowvzml2OLV+PaSwk= =WYzX -----END PGP SIGNATURE----- --=-pBwyY1J69+oXfkBjkoAi--