[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Return back original implementation for text-config serialization
From: |
Xinglu Chen |
Subject: |
Re: Return back original implementation for text-config serialization |
Date: |
Sat, 05 Feb 2022 15:43:34 +0100 |
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 what I can tell, ‘home-files-service-type’ doesn’t seem to have
anything like that. I am not able to find any usages for
‘computed-file’ in Guix Home services either. I am missing something?
signature.asc
Description: PGP signature