Subject: [bug#45153] [PATCH] gnu: rottlog: Fix mail reporting.

From: Ludovic Courtès <[email-masked]>
Date: Fri, 11 Dec 2020 18:57:44 +0100

Hi,

dftxbs3e <[email-masked]> skribis:

> From 6aab4645706f9fe285c253142efe4e9fd40f2c3a Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?L=C3=A9o=20Le=20Bouter?= <[email-masked]>
> Date: Thu, 10 Dec 2020 04:35:38 +0100
> Subject: [PATCH] gnu: rottlog: Fix mail reporting.
>
> * gnu/packages/admin.scm (rottlog):
> [propagated-inputs]: Add sendmail.
> ---
>  gnu/packages/admin.scm | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
> index 9df14b5ca0..5c22d40d1d 100644
> --- a/gnu/packages/admin.scm
> +++ b/gnu/packages/admin.scm
> @@ -1385,6 +1385,7 @@ at once based on a Perl regular expression.")
>                       ("automake" ,automake)
>                       ("util-linux" ,util-linux))) ; for 'cal'
>      (inputs `(("coreutils*" ,coreutils)))
> +    (propagated-inputs `(("sendmail" ,sendmail)))

A better approach would be to avoid the propagated inputs and instead
replace the reference to ‘mail’ (or ‘sendmail’?) in the code by a
reference to its absolute file name (if it’s ‘mail’, I’d suggest picking
the ‘mail’ command from Inetutils.)

Thanks,
Ludo’.