GNU bug report logs - #57069
Tempel snippets

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 9 Aug 2022 10:17:02 UTC

Severity: normal

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andrew Tropin <andrew <at> trop.in>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, Nicolas Graves <ngraves <at> ngraves.fr>, 57069 <at> debbugs.gnu.org
Subject: [bug#57069] Tempel snippets
Date: Wed, 17 Aug 2022 07:26:36 +0300
[Message part 1 (text/plain, inline)]
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:
>> 
>> > Am Donnerstag, dem 11.08.2022 um 08:17 +0200 schrieb Nicolas
>> > Graves:
>> > > 
>> > > > - I couldn't match a small part of current yasnippet
>> > > > configuration,
>> > > >   currently only the part in uri when url-fetch is chosen. Sent
>> > > >   a "help/feature report" here
>> > > > https://github.com/minad/tempel/issues/65.
>> > > > 
>> > > > If this is possible, we could probably further factorize and
>> > > > integrate the
>> > > > snippets logic, maybe to reach something like that for origin
>> > > > expansion.
>> > > 
>> > > Daniel Mendler confirmed that recursive templates were not
>> > > supported,
>> > > hence I cannot further improve snippets.  I've sent an updated
>> > > patch
>> > > with "-build-system" added only once at the end.
>> > > 
>> > > Waiting for them to be adopted ;)
>> > I'll reply to the actual patches with the review.
>> > 
>> > > 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")
>> 
>> 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!

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.