From 87e7faa2ae641d8302efc8b90f1e45f43f67f6da Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 15 Nov 2019 21:48:35 +0100 Subject: time-machine: Honor the standard build options. * guix/scripts/time-machine.scm (show-help): Call 'show-build-options-help'. (%options): Add %STANDARD-BUILD-OPTIONS. (%default-options): New variable. (parse-args): Pass (list %default-options) to 'parse-command-line' and remove #:build-options? parameter. (guix-time-machine): Call 'set-build-options-from-command-line' and wrap 'cached-channel-instance' call in 'with-status-verbosity'. * doc/guix.texi (Invoking guix time-machine): Mention common build options. --- doc/guix.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index bc1d5d863a..51147e3e9a 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -4222,6 +4222,10 @@ will thus build the package @code{hello} as defined in the master branch, which is in general a newer revison of Guix than you have installed. Time travel works in both directions! +Note that @command{guix time-machine} can trigger builds of channels and +their dependencies, and these are controlled by the standard build +options (@pxref{Common Build Options}). + @node Inferiors @section Inferiors -- cgit v1.2.3