diff options
author | Carl Dong <contact@carldong.me> | 2021-03-17 13:14:21 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-04-05 11:00:39 -0400 |
commit | 1aec0eda8fd31a57b0621eea616398017c2ead98 (patch) | |
tree | fcb5f52438f0486458039f5853f620003a063649 /contrib | |
parent | 1742f8e12d163852df09575e03edcd3db73198ee (diff) |
guix: Fallback to local build for substitute-enabled Guix users
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/guix/guix-build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/guix/guix-build b/contrib/guix/guix-build index 7f74524ddc..d817fb74ba 100755 --- a/contrib/guix/guix-build +++ b/contrib/guix/guix-build @@ -195,6 +195,7 @@ time-machine() { --commit=490e39ff303f4f6873a04bfb8253755bdae1b29c \ --cores="$JOBS" \ --keep-failed \ + --fallback \ ${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \ ${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_TIMEMACHINE_FLAGS} \ -- "$@" @@ -344,6 +345,7 @@ EOF ${SDK_PATH:+--share="$SDK_PATH"} \ --cores="$JOBS" \ --keep-failed \ + --fallback \ --link-profile \ ${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \ ${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_ENVIRONMENT_FLAGS} \ |