Hi Julien, thank you! That does work.
So if I understand correctly, #$ doesn't only escape #~ but also unquotes
quoted lists. That's good to know! It's possible a good fraction of my
recurring troubles with gexps came from not realizing that.
On Mon, Dec 09 2024, Julien Lepiller wrote:
> Hi Yu
Hi Yulran,
I think this is related to how gexps are expanded. In your first gexp, you use
#$accounts, which expands to ("account1" "account2"), and it's interpreted as a
procedure call.
Untested, but '#$accounts should work.
It might be easier to work with a single gexp, like so:
#~(job '(nex
Hi guix,
I'm having trouble with nesting g-expressions when defining a mcron job. I want
the job to run the same "mastodon-archive" commands for several accounts, so I
define a list of accounts and use 'map' to build the complete command. This
works well when there are only strings involved, bu