diff options
author | Mathieu Othacehe <mathieu.othacehe@parrot.com> | 2017-07-11 11:38:18 +0200 |
---|---|---|
committer | Mathieu Othacehe <m.othacehe@gmail.com> | 2017-07-12 16:28:41 +0200 |
commit | efcef52883965287433ba62fa5be309bd0aede1d (patch) | |
tree | d19dc6f7422b3ae70700de1fe353312130cc2ed3 /bin | |
parent | 707b053024ec9d50699312f09f69743a9559f5e5 (diff) | |
download | cuirass-efcef52883965287433ba62fa5be309bd0aede1d.tar cuirass-efcef52883965287433ba62fa5be309bd0aede1d.tar.gz |
cuirass: Add fallback parameter.
* src/cuirass/base.scm (%fallback?): New exported parameter.
(process-specs)[set-build-options]: Pass fallback parameter.
* bin/cuirass.in (%options): Add fallback.
(main): Set %fallback? parameter.
(show-help): Update.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/cuirass.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/cuirass.in b/bin/cuirass.in index 61b9dd8..18edf1e 100644 --- a/bin/cuirass.in +++ b/bin/cuirass.in @@ -35,6 +35,7 @@ exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@" --one-shot Evaluate and build jobs only once --cache-directory=DIR Use DIR for storing repository data + --fallback Fall back to building when the substituter fails. -L --load-path=DIR Prepend DIR to Guix package module search path. -S --specifications=SPECFILE Add specifications from SPECFILE to database. @@ -56,6 +57,7 @@ exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@" (port (single-char #\p) (value #t)) (interval (single-char #\I) (value #t)) (use-substitutes (value #f)) + (fallback (value #f)) (version (single-char #\V) (value #f)) (help (single-char #\h) (value #f)))) @@ -73,7 +75,8 @@ exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@" (option-ref opts 'cache-directory (%package-cachedir))) (%guix-package-path (option-ref opts 'load-path (%guix-package-path))) - (%use-substitutes? (option-ref opts 'use-substitutes #f))) + (%use-substitutes? (option-ref opts 'use-substitutes #f)) + (%fallback? (option-ref opts 'fallback #f))) (cond ((option-ref opts 'help #f) (show-help) |