diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-10-09 13:25:41 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-10-09 23:51:19 +0200 |
commit | 9176607ec4cffb85b46e71af49bbc8a330aec5c3 (patch) | |
tree | fff85fb1ca12965acaa29f8aaa650237f2b2f56d /tests/substitute-binary.scm | |
parent | 74c7af9fb83bd4803b0f2cad4e6439bfad75edf0 (diff) |
daemon: Add '--substitute-urls' option.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_SUBSTITUTE_URLS): New macro.
(GUIX_OPT_NO_BUILD_HOOK, GUIX_OPT_GC_KEEP_OUTPUTS,
GUIX_OPT_GC_KEEP_DERIVATIONS): Renumber.
(options): Add '--substitute-urls'.
(parse_opt): Honor it.
(main): Add 'settings.set' call for the default "substitute-urls"
value.
* guix/scripts/substitute-binary.scm (daemon-options,
find-daemon-option): New procedures.
(%cache-url): Define based on the "substitute-urls" daemon option.
* doc/guix.texi (Invoking guix-daemon): Document '--substitute-urls'.
(Substitutes): Mention it.
Diffstat (limited to 'tests/substitute-binary.scm')
0 files changed, 0 insertions, 0 deletions