> You'll need two things; ``computed-file'', and the ``(ice-9 popen)'' standard > library module. ``computed-file'' allows you to build a file-like object from > arbitrary code. Have a look here for an example from my configuration, > > https://git.sr.ht/~unmatched-paren/conf/tree/root/item/home.scm#L168 > > which removes all ``//'' comments from ``waybar.json'' before writing the > result to the store path. > > Also see the Guix and Guile manuals on these two subjects, > > ``(ice-9 popen)'': https://www.gnu.org/software/guile/manual/html_node/Pipes.html > ``computed-file'': https://guix.gnu.org/manual/en/html_node/G_002dExpressions.html#index-computed_002dfile > Thanks for your pointers, will try if I can fiddle something together! Best, Reza -- Reza Housseini This message is signed with my GnuPG key: C0F3 0812 9AF2 80F4 0830 C2C1 C375 C6AF 0512 5C52