Subject: Re: [PATCH] gnu: daikichi: fix cross-compilation.

From: Liliana Marie Prikler <[email-masked]>
Date: Sat, 25 Nov 2023 23:18:52 +0100

Am Samstag, dem 11.11.2023 um 18:28 +0800 schrieb Zheng Junjie:
> * gnu/packages/textutils.scm (daikichi): fix cross-compilation.
> [inputs]: add diffutils.
> 
> Change-Id: I7e46a3f61a869c10f3491e1397232125ccf76149
> ---
>  gnu/packages/toys.scm | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
> index 21d5279e85..2fa47315c0 100644
> --- a/gnu/packages/toys.scm
> +++ b/gnu/packages/toys.scm
> @@ -5,6 +5,7 @@
>  ;;; Copyright © 2019, 2022 Liliana Marie Prikler
> <[email-masked]>
>  ;;; Copyright © 2020 Efraim Flashner <[email-masked]>
>  ;;; Copyright © 2021 Leo Famulari <[email-masked]>
> +;;; Copyright © 2023 Zheng Junjie <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -70,6 +71,7 @@ (define-public daikichi
>                        (search-input-file inputs
>                                           (string-append "bin/"
> cmd)))))))))
>      (inputs (list bash-minimal coreutils sed
> +                  diffutils
>                    fmt gmp))
>      (native-inputs (list pkg-config))
>      (home-page "https://gitlab.com/lilyp/daikichi")
I only noticed this now that it's been pushed, but are you sure that
inputs is correct?  As far as I know, diffutils are only used for the
tests, so it ought to be native-inputs, no?

Cheers