diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-02-18 00:13:06 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-02-18 00:13:24 +0100 |
commit | e7fc17b592a0d25c18fbc6774b1f8a6d2a9bbc69 (patch) | |
tree | 51a93229e15bef7b14c96b3684891861d7b77b57 /gnu-system.am | |
parent | 98e7fc9b02f00f3f2324b12dec1a6cd9beafbe01 (diff) | |
download | guix-e7fc17b592a0d25c18fbc6774b1f8a6d2a9bbc69.tar guix-e7fc17b592a0d25c18fbc6774b1f8a6d2a9bbc69.tar.gz |
guix build: Factorize common options.
* guix/scripts/build.scm (show-build-options-help,
set-build-options-from-command-line): New procedures.
(show-help): Remove description of --dry-run,
--fallback, --no-substitutes, --max-silent-time, and --cores. Call
'show-build-options-help'.
(%standard-build-options): New variable.
(%options): Remove --dry-run, --fallback, --no-substitutes,
--verbosity, --max-silent-time, and --cores. Add
%STANDARD-BUILD-OPTIONS.
(guix-build): Use 'set-build-options-from-command-line' instead of
'set-build-options'.
* guix/scripts/archive.scm (show-help): Remove description of --dry-run,
--fallback, --no-substitutes, --max-silent-time, and --cores. Call
'show-build-options-help'.
(%options): Remove --dry-run, --fallback, --no-substitutes,
--verbosity, --max-silent-time, and --cores. Add
%STANDARD-BUILD-OPTIONS.
(export-from-store): Call 'set-build-options-from-command-line'
instead of 'set-build-options.
Diffstat (limited to 'gnu-system.am')
0 files changed, 0 insertions, 0 deletions