diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-05-29 23:08:06 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-05-29 23:22:05 +0200 |
commit | 56b1f4b78070e3012b8c46dae1d2008c8d3e1c0a (patch) | |
tree | 4222e3be38c3611646dc970c7140321a34ad50f5 /doc | |
parent | c3eb878f0beb792f19d72edef62f267560c39162 (diff) | |
download | patches-56b1f4b78070e3012b8c46dae1d2008c8d3e1c0a.tar patches-56b1f4b78070e3012b8c46dae1d2008c8d3e1c0a.tar.gz |
build, package: Add `--fallback' option.
* guix/scripts/build.scm (%options, show-help): Add `--fallback'.
(guix-build): Call `set-build-options' with #:fallback?.
* guix/scripts/package.scm (%options, show-help): Add `--fallback'.
(guix-package): Call `set-build-options' with #:fallback?.
* doc/guix.texi (Invoking guix package, Invoking guix build): Document
`--fallback'.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 4206076a9b..68d45d2a5f 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -595,6 +595,10 @@ Use @var{profile} instead of the user's default profile. @itemx -n Show what would be done without actually doing it. +@item --fallback +When substituting a pre-built binary fails, fall back to building +packages locally. + @item --no-substitutes @itemx --max-silent-time=@var{seconds} Same as for @command{guix build} (@pxref{Invoking guix build}). @@ -1219,6 +1223,10 @@ the end of the build log. This is useful when debugging build issues. @itemx -n Do not build the derivations. +@item --fallback +When substituting a pre-built binary fails, fall back to building +packages locally. + @item --no-substitutes Build instead of resorting to pre-built substitutes. |