summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-04-18 22:46:34 +0200
committerLudovic Courtès <ludo@gnu.org>2013-04-18 22:50:31 +0200
commit6858f9d13217b14eeeacede9c42a279468242891 (patch)
tree8f37d54ed96e0d60de34140930287ec737d6b3fb /doc
parentea0ee755bd54db2c3766714946c24df4e9b94fc0 (diff)
downloadguix-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')
-rw-r--r--doc/guix.texi4
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.