guix: Fallback to local build for substitute-enabled Guix users

pull/826/head
Carl Dong 4 years ago
parent 1742f8e12d
commit 1aec0eda8f

@ -195,6 +195,7 @@ time-machine() {
--commit=490e39ff303f4f6873a04bfb8253755bdae1b29c \ --commit=490e39ff303f4f6873a04bfb8253755bdae1b29c \
--cores="$JOBS" \ --cores="$JOBS" \
--keep-failed \ --keep-failed \
--fallback \
${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \ ${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \
${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_TIMEMACHINE_FLAGS} \ ${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_TIMEMACHINE_FLAGS} \
-- "$@" -- "$@"
@ -344,6 +345,7 @@ EOF
${SDK_PATH:+--share="$SDK_PATH"} \ ${SDK_PATH:+--share="$SDK_PATH"} \
--cores="$JOBS" \ --cores="$JOBS" \
--keep-failed \ --keep-failed \
--fallback \
--link-profile \ --link-profile \
${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \ ${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \
${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_ENVIRONMENT_FLAGS} \ ${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_ENVIRONMENT_FLAGS} \

Loading…
Cancel
Save