From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 wJ+xNCNu/GK7zQAAbAwnHQ (envelope-from ) for ; Wed, 17 Aug 2022 06:27:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SNerNCNu/GJLHgEA9RJhRA (envelope-from ) for ; Wed, 17 Aug 2022 06:27:15 +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 3F09115488 for ; Wed, 17 Aug 2022 06:27:15 +0200 (CEST) Received: from localhost ([::1]:47250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOAe9-0006Sm-SD for larch@yhetil.org; Wed, 17 Aug 2022 00:27:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOAdz-0006Sd-5P for guix-patches@gnu.org; Wed, 17 Aug 2022 00:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOAdy-00084a-6a for guix-patches@gnu.org; Wed, 17 Aug 2022 00:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOAdx-0004HB-W5 for guix-patches@gnu.org; Wed, 17 Aug 2022 00:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57069] Tempel snippets Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Aug 2022 04:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57069 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Liliana Marie Prikler , Nicolas Graves , 57069@debbugs.gnu.org Received: via spool by 57069-submit@debbugs.gnu.org id=B57069.166071041616426 (code B ref 57069); Wed, 17 Aug 2022 04:27:01 +0000 Received: (at 57069) by debbugs.gnu.org; 17 Aug 2022 04:26:56 +0000 Received: from localhost ([127.0.0.1]:49090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOAds-0004Gs-4H for submit@debbugs.gnu.org; Wed, 17 Aug 2022 00:26:56 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:34393) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOAdl-0004Ga-B1 for 57069@debbugs.gnu.org; Wed, 17 Aug 2022 00:26:53 -0400 Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id 6AEA0200005; Wed, 17 Aug 2022 04:26:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1660710403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gSyXBEr0lR4WLUr3PhCG5/hRP2zLh75l9WszaoK2c+Y=; b=oS/lIntKJ9cx8KvbHorCvpm6EFCDD/elWi0dTNKjxeCvJYamSHZ42fkn5NJ4w5eDrD6ihr EAh+SR1BitjlduoVvKoGYsq38rGGGlDnok70DJ0SENZdbWLhk4AYkS2bUVEXDFfwcLDAwE AriHghUma2EXi0MHA3uCpirLr7ihg8k+8GL6sxYu0Pe8kaCjVwyfeiNw7bRcL066Dab1cD 6PlKnzNFhlWHhn5ZQn/Bp+71NIXvcgNM089CJsg2rGh19o0Vb9kzzUD4PBs+uW1MUF2ny4 iNoIHb9wrZFPyylcA54Na77T94Eds9PNHCde4PkYWLY/FPZ8Owj37p/g3BuFZg== From: Andrew Tropin In-Reply-To: <3071ca0bf84374b6187c53a3eb6ba89c9becedcb.camel@gmail.com> References: <87a68dpvre.fsf@ngraves.fr> <3582f9ef0c1fcc30719dd1479812354169d14277.camel@gmail.com> <87tu6j5moa.fsf@ngraves.fr> <39edb2a4b03ca1a052120fcebd5919350d65a779.camel@gmail.com> <87o7wkolyk.fsf@trop.in> <3071ca0bf84374b6187c53a3eb6ba89c9becedcb.camel@gmail.com> Date: Wed, 17 Aug 2022 07:26:36 +0300 Message-ID: <87czczv6kj.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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 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=1660710435; 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=gSyXBEr0lR4WLUr3PhCG5/hRP2zLh75l9WszaoK2c+Y=; b=UAGnhbiqhMP28bfoR4rG8U0fzjyTdQ8Df7IOfeH3qGUEpuKtLxqd0B6pwHpOmI20VH4ijU s+T40oW9OXby3PWQtf+CKBxg2ZHGI6LzN8h+hdix83+Jk59Tdhwv+06I+TmOJuOBzk7Jlm t4r9P8evVxXneRU6PPh0HkjanyLFHZ6Jcr079T9xkXBh2Z9N3xLFp4uPTknSBVgYmrSFfL lTvx2w1irFnUiGzb3HGfiVyqBrfNalAHI0JAfmWRNKcK5prI4sp6tCmTa4QlKEgbkymeP2 myFAb5BR52LlTLaD92VS5qIwpIWvJv9cTti00gb1cRq3P9+vR+w+GlAm8UDdPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660710435; a=rsa-sha256; cv=none; b=Rxegb/zIxIMCF5cSk+2cj+FgA0nkxpl0g+txBrGy6dbQWfb06bIW6mKqwxSo0803gPNWYo yCKFAcfOxZ1xD4OS79vjzoRSkXBwNGfuDT9HHioDfnG2b1ju/ZtSImRFR3rAjIj4aGKZV0 ty+NIDxQ48HvrJuAaDgqs36V+uTOhTiaGMyHD7EwWZsnKeQ88UqFmS45nYhAA5EwkqXZsz Y2ymRgpBvCHiuDKfFibcs4XHWBCazsZnQ3YMitFuFOpT5RjX5TOlJx0EpPJgjjd06xtAME njc8n7Cm8v2ZAz1UteGBnnWXngMyxGqGxZJpdHqwUHmr/X2c50lpJRiA5kZWaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b="oS/lIntK"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b="oS/lIntK"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3F09115488 X-Spam-Score: 0.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZGgFgIP8Ngqx --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-08-16 18:09, Liliana Marie Prikler wrote: > Am Dienstag, dem 16.08.2022 um 07:23 +0300 schrieb Andrew Tropin: >> On 2022-08-11 17:53, Liliana Marie Prikler wrote: >>=20 >> > Am Donnerstag, dem 11.08.2022 um 08:17 +0200 schrieb Nicolas >> > Graves: >> > >=20 >> > > > - I couldn't match a small part of current yasnippet >> > > > configuration, >> > > > =C2=A0 currently only the part in uri when url-fetch is chosen. Se= nt >> > > > =C2=A0 a "help/feature report" here >> > > > https://github.com/minad/tempel/issues/65. >> > > >=20 >> > > > If this is possible, we could probably further factorize and >> > > > integrate the >> > > > snippets logic, maybe to reach something like that for origin >> > > > expansion. >> > >=20 >> > > Daniel Mendler confirmed that recursive templates were not >> > > supported, >> > > hence I cannot further improve snippets.=C2=A0 I've sent an updated >> > > patch >> > > with "-build-system" added only once at the end. >> > >=20 >> > > Waiting for them to be adopted ;) >> > I'll reply to the actual patches with the review. >> >=20 >> > > PS : it would be great to add a "snippets" output to the guix >> > > package, so that one can use (file-append guix:snippets >> > > "/tempel/") >> > > to include them in a guix home configuration. >> > Note that you can (file-append (package-source guix) >> > "etc/snippets") >>=20 >> Probably not yet, there is no build phase, which copies etc/snippets >> to out so far. > You don't need a build phase to copy from an origin, do you? Oh, I missed (package-source ...) call. You are right, this should do the trick! =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmL8bfwACgkQIgjSCVjB 3rDgTRAAjGGSGw+EdAlcuG1UFLFvn+Xq4ow/J5oxB0xf8kiYKB9afVSdicaGe/OM j6fUHfJmo5UTC6LvUYLr4AUKt122fKO8+99Moqn7+fLaU4m0fZ+kKDGNbDD1uiTL 8NGHJ4DpVgYzPDjjCRMO6AsjLA0EYHdDYZ6N4NazxrLSCs6gqMW7/XxpW5zkYvEv Me5S6YhKvb5OhmO3IyzJS4JYnavzIVVFOBX7VgRTrb1YYalt9zFGuhwUPxPzypRa BUdRGiKW7i6EG6Pz94EyIxAftE5rEZnHO1y3a2S1a7VIOjpsFP5tFWgWvO/OZphx 8QmDiB/LcrUa/JCluEi9K0kSo3bvopnq9EHhMneLtzaXViq6FDfwFgy9JjGfVHqK IAEPcz+kK+/vyVeNDPXSCsz5aJFzqFtXOKnT25IabrDqinHNxc1jkfNB+2K05wsL whp5GOosHBy8aj7V0iunEjppdW97YQrejybrRC3dnp4taM9tRvvlqAQbEKLcmgL+ IT5e7IasZo/qrFXI5CJ359ChFy2b6jeVe2YHNNJahjR3Gm1cynmnNXM7jbiOrIq/ p/FoFYkWTFTnc7PyJkNFj3hfqheC8rPz63J2qoQA9RvgxS8LV6uNBNu6db8RLEcB rQSbWC051BIIdwDvRpCRB6LqWnRVO3qaQCh0Sf6CACs3BwYGLkU= =DfQv -----END PGP SIGNATURE----- --=-=-=--