config.sh: export GUIX_BUILD_MAX_CORES.

This enables guix commands used in various place to use that variable.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-09-06 20:15:30 +02:00 committed by Adrien 'neox' Bourmault
parent ada459875c
commit 7fa1b8c40e
Signed by: neox
GPG Key ID: 57BC26A3687116F6
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ AS_IF([test x"$FOUND_GUIX" = x""],
# settings by sourcing it.
printf '#!/usr/bin/env bash\n' > config.sh
printf '# This file is generated by configure.ac\n' >> config.sh
printf 'GUIX_BUILD_MAX_CORES=%s\n' "$GUIX_BUILD_MAX_CORES" >> config.sh
printf 'GUIX_REVISION=%s\n' "$GUIX_REVISION" >> config.sh
chmod +x config.sh