Skip to content

Commit 1aec0ed

Browse files
committed
guix: Fallback to local build for substitute-enabled Guix users
1 parent 1742f8e commit 1aec0ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/guix/guix-build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ time-machine() {
195195
--commit=490e39ff303f4f6873a04bfb8253755bdae1b29c \
196196
--cores="$JOBS" \
197197
--keep-failed \
198+
--fallback \
198199
${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \
199200
${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_TIMEMACHINE_FLAGS} \
200201
-- "$@"
@@ -344,6 +345,7 @@ EOF
344345
${SDK_PATH:+--share="$SDK_PATH"} \
345346
--cores="$JOBS" \
346347
--keep-failed \
348+
--fallback \
347349
--link-profile \
348350
${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \
349351
${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_ENVIRONMENT_FLAGS} \

0 commit comments

Comments
 (0)