Subject: Re: bug#57704: [PATCH core-updates] guix: packages: Remove #f from inputs when sanitizing.

From: Ludovic Courtès <[email-masked]>
Date: Mon, 26 Sep 2022 22:51:43 +0200

Hi Liliana,

Liliana Marie Prikler <[email-masked]> skribis:

> This makes it so that new-style inputs can be optional using regular Guile
> patterns, e.g. (and (target-x86-64?) rust).

I’d rather avoid that and make sure input lists are just plain lists,
remaining strict, and keeping the sanitize procedure simple (notably so
it can be optimized in common cases).

That means we have to live with idioms like:

  (append (list x y z)
          (if (target-x86-64?) (list rust) '()))

The ‘openmpi’ package has sugar to make that more concise.

Thoughts?

Thanks,
Ludo’.