Subject: [bug#52806] [PATCH v4] gnu: Add xinitrc-xsession.

From: Maxime Devos <[email-masked]>
Date: Tue, 11 Jan 2022 23:24:26 +0100

John Kehayias via Guix-patches via schreef op di 11-01-2022 om 21:29 [+0000]:
> +              (lambda* (#:key outputs #:allow-other-keys)
> +                (let* ((xinitrc-desktop
> +                        (string-append #$output
"/share/xsessions/xinitrc.desktop"))
> +                       (xinitrc-helper
> +                        (string-append #$output
"/bin/xinitrcsession-helper")))
> +                  (substitute* xinitrc-desktop
> +                    (("Exec=xinitrcsession-helper")
> +                     (string-append "Exec=" xinitrc-helper)))))))

'outputs' is unused here, so you can simplify the lambda from
(lambda * (#:key outputs #:allow-other-keys) ...)
to
(lambda _ ...).

Greetings,
Maxime