Subject: Re: [bug#49943] [PATCH] gnu: Add openboard

From: Maxime Devos <[email-masked]>
Date: Sun, 06 Mar 2022 10:03:57 +0100

Nicolas Goaziou schreef op zo 06-03-2022 om 00:16 [+0100]:
> +            (add-after 'unpack 'fix-hard-coded-env
> +              (lambda* (#:key inputs #:allow-other-keys)
> +                (substitute*
> "src/frameworks/UBPlatformUtils_linux.cpp"
> +                  (("/usr/bin/env") (search-input-file inputs
> "/bin/env")))))

You have to add 'coreutils-minimal' (or 'coreutils') to 'inputs',
otherwise 'search-input-file' will fail when cross-compiling because
'bin/env' (from 'coreutils') is not among the inputs, whereas it is in
the (implicit) native-inputs when compiling natively and native-inputs
are merged into inputs when compiling natively.

Greetings,
Maxime.