Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +(define (maybe-inputs package-inputs input-type) > +  "Given a list of PACKAGE-INPUTS, tries to generate the 'inputs' field of a > +package definition.  INPUT-TYPE, a symbol, is used to populate the name of > +the input field." > +  (match package-inputs > +    (() > +     '()) > +    ((package-inputs ...) > +     `((,input-type (list ,@package-inputs)))))) This procedure 'maybe-inputs', or at least a similar procedure, already seems to exist in (guix import utils). Greetings, MAxime.