Pierre Neidhardt <m...@ambrevar.xyz> skribis: > Ricardo Wurmus <rek...@elephly.net> writes: >> It’s just a list. You can cons onto it. > > What I meant is that it does not seem possible to > > (list (channel > (inherit %default-channels > (commit "...")))) > > Or even > > (set-channel-commit %default-channels "...") > > But maybe it's not worth it considering it's only 4 lines.
‘%default-channels’ is a list, not a <channel> record, so what you suggest above cannot work. But you can do: (list (channel (inherit (first %default-channels)) …)) That’s what the stable-channel trick I posted does. Ludo’.