Subject: Re: [bug#30604] [PATCH v8 1/7] linux-modules: Add module-aliases.

From: [email-masked] (Ludovic Courtès)
Date: Sat, 03 Mar 2018 22:58:36 +0100

Danny Milosavljevic <[email-masked]> skribis:

> * gnu/build/linux-modules.scm (module-aliases): New variable.

LGTM!

> +(define (module-aliases file)
> +  "Return the list of aliases of module FILE."
> +  (let ((info (modinfo-section-contents file)))
> +    (filter-map (match-lambda
> +                 (('alias . value)
> +                  value)
> +                 (_ #f)) (modinfo-section-contents file))))

Nitpick: align like this:

  (filter-map first
              second)

when the first arg spans several lines.