Subject: Re: [bug#65229] [PATCH 2/2] ui: 'load*' accepts /dev/fd/N files pointing to a pipe.

From: Simon Tournier <[email-masked]>
Date: Wed, 16 Aug 2023 15:32:13 +0200

Hi Ludo,

Cool!

On Fri, 11 Aug 2023 at 17:34, Ludovic Courtès <[email-masked]> wrote:

> This allows users to write Bash commands like:
>
>   guix time-machine -C <(echo %default-channels) -- ...
>
> or:
>
>   guix build -m <(echo '(specifications->manifest (list "guile"))')

I propose to document this.  WDYT about this?

--8<---------------cut here---------------start------------->8---
1 file changed, 6 insertions(+)
doc/guix.texi | 6 ++++++

modified   doc/guix.texi
@@ -5103,6 +5103,12 @@ Invoking guix time-machine
 @item -q
 Inhibit loading of the user and system channel files,
 @file{~/.config/guix/channels.scm} and @file{/etc/guix/channels.scm}.
+
+This option is equivalent to the command run on Bash shell:
+
+@example
+guix time-machine -C <(echo %default-channels) -- build hello
+@end example
 @end table
 
 As for @command{guix pull}, in the absence of any options,
--8<---------------cut here---------------end--------------->8---

Cheers,
simon