Skip to content

Commit 444fcfc

Browse files
committed
guix: Make guix honor MAX_JOBS setting
1 parent 9158d6f commit 444fcfc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/guix/guix-build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git log --format=%at -1)}"
1818
time-machine() {
1919
guix time-machine --url=https://github.com/dongcarl/guix.git \
2020
--commit=b066c25026f21fb57677aa34692a5034338e7ee3 \
21+
--max-jobs="$MAX_JOBS" \
2122
-- "$@"
2223
}
2324

@@ -108,6 +109,7 @@ for host in ${HOSTS=x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu riscv
108109
--expose="$(git rev-parse --git-common-dir)" \
109110
${SOURCES_PATH:+--share="$SOURCES_PATH"} \
110111
${ADDITIONAL_GUIX_ENVIRONMENT_FLAGS} \
112+
--max-jobs="$MAX_JOBS" \
111113
-- env HOST="$host" \
112114
MAX_JOBS="$MAX_JOBS" \
113115
SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:?unable to determine value}" \

0 commit comments

Comments
 (0)