Subject: [bug#62036] [PATCH] guix: packages: Consider 'patches' by 'package-direct-sources'.

From: Josselin Poiret <[email-masked]>
Date: Thu, 09 Mar 2023 20:43:26 +0100

Hi Simon,

Simon Tournier <[email-masked]> writes:

>  (define (package-direct-sources package)
>    "Return all source origins associated with PACKAGE; including origins in
> -PACKAGE's inputs."
> -  `(,@(or (and=> (package-source package) list) '())
> +PACKAGE's inputs and patches."
> +  (define (expand source)
> +    (append
> +     (list source)
> +     (filter origin? (origin-patches source))))

* cough * (cons source (filter ...)) * cough *

Other than that, LGTM!  Tests worked fine on my end.  No idea what this
is used for though :p

Best,
-- 
Josselin Poiret