diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-04-18 22:46:34 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-04-18 22:50:31 +0200 |
commit | 6858f9d13217b14eeeacede9c42a279468242891 (patch) | |
tree | 8f37d54ed96e0d60de34140930287ec737d6b3fb /doc/guix.texi | |
parent | ea0ee755bd54db2c3766714946c24df4e9b94fc0 (diff) | |
download | patches-6858f9d13217b14eeeacede9c42a279468242891.tar patches-6858f9d13217b14eeeacede9c42a279468242891.tar.gz |
daemon: Add `--no-substitutes'.
Suggested by Mark H. Weaver.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_NO_SUBSTITUTES): New macro.
(options): Add `--no-substitutes'.
(parse_opt): Add `GUIX_OPT_NO_SUBSTITUTES' case.
(main): Leave `settings.substituters' empty when
`settings.useSubstitutes' is false.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 96ffd51730..f149eee6dd 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -295,6 +295,10 @@ The following command-line options are supported: Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users}). +@item --no-substitutes +Do not use substitutes for build products. That is, always build things +locally instead of allowing downloads of pre-built binaries. + @item --cache-failures Cache build failures. By default, only successful builds are cached. |