Subject: [bug#49450] [PATCH] gnu: emacs-deadgrep: Add missing input.

From: Matthew Kraai <[email-masked]>
Date: Wed, 7 Jul 2021 08:42:55 -0700

Hi Nicolas,

I was trying to ensure that when emacs-deadgrep is installed, ripgrep is also installed.  The former doesn’t need the latter to build but does require it at runtime.  Isn’t propagated-inputs the right field for that?

Sent from my iPhone

> On Jul 7, 2021, at 7:20 AM, Nicolas Goaziou <[email-masked]> wrote:
> 
> Hello,
> 
> Matthew James Kraai <[email-masked]> writes:
> 
>> * gnu/packages/emacs-xyz.scm (emacs-deadgrep)[propagated-inputs]: Add
>> ripgrep.
>> ---
>> gnu/packages/emacs-xyz.scm | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>> 
>> Add ripgrep as propagated-input, as is done for emacs-ripgrep and
>> emacs-rg.
> 
> I think ripgrep should be an input.  Both emacs-ripgrep and emacs-rg
> needs to be fixed, too.
> 
> Regards,
> -- 
> Nicolas Goaziou