[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57069] Tempel snippets
From: |
Andrew Tropin |
Subject: |
[bug#57069] Tempel snippets |
Date: |
Wed, 17 Aug 2022 07:26:36 +0300 |
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
Description: PGP signature
[bug#57069] [PATCH v2] etc: Add tempel snippets., Nicolas Graves, 2022/08/11
[bug#57069] [PATCH v3 1/4] etc: Add tempel snippets., Nicolas Graves, 2022/08/12