Subject: Re: [PATCH] gnu: commencement: Use system in %final-inputs.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 09 Aug 2023 23:31:29 +0200

Hi,

Josselin Poiret <[email-masked]> skribis:

> From: Christopher Baines <[email-masked]>
>
> Otherwise this causes odd issues, I presume arising from when %current-system
> differs from the system argument passed to %final-inputs.
>
> * gnu/packages/commencement.scm (%final-inputs): Set %current-system to
> system.
> * gnu/packages/base.scm (%final-inputs): Add optional system parameter.
> * gnu/ci.scm (base-packages): New procedure to memoize the base packages
> depending on system.
> (package->job): Pass system to base-packages.
>
> Co-authored-by: Josselin Poiret <[email-masked]>
> Signed-off-by: Josselin Poiret <[email-masked]>

LGTM!  Great that you found the (gnu ci) issue.

Thanks,
Ludo’.