Subject: [bug#52505] [PATCH 2/2] doc: Mention how to remedy "source file ... newer than compiled error".

From: zimoun <[email-masked]>
Date: Wed, 15 Dec 2021 13:39:25 +0100

Hi,

On Wed, 15 Dec 2021 at 12:36, jgart via Guix-patches via
<[email-masked]> wrote:
>
> From: Guix Together <[email-masked]>
>
> * doc/contributing.texi (Running Guix Before It Is Installed): Mention
> how to remedy "source file ... newer than compiled" error by running
> `make -j`.
>
> Co-authored-by: jgart <[email-masked]>
> Co-authored-by: Julien Lepiller <[email-masked]>
> Co-authored-by: Ryan Prior <[email-masked]>
> Co-authored-by: Blake Shaw <[email-masked]>
> ---
>  doc/contributing.texi | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)

Cool!

> +the message by running @command{make -j}. Until you do, Guile will run

[...]

> +@command{watchexec -w gnu/packages make -j}.

Personally, I would not recommand inside the manual the command "make
-j", but instead "make" or "make -j4" (4 or whatever number); as it
was done in "guix environment" section [1].

1: <https://guix.gnu.org/manual/devel/en/guix.html#Invoking-guix-environment>

Cheers,
simon