unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Make guix commands pipeable
@ 2021-03-20 12:13 pkill9
  2021-03-20 19:15 ` david larsson
  2021-03-21 10:21 ` zimoun
  0 siblings, 2 replies; 6+ messages in thread
From: pkill9 @ 2021-03-20 12:13 UTC (permalink / raw)
  To: guix-devel

I would like to be able to pipe files into guix commands.

Specifically the `guix system build` command, so I can build a system
configuration on a remote Guix system over SSH, i.e. `cat config.scm |
ssh <remote-system> guix system build -`, or perhaps using the
`--expression` flag which would make more sense, e.g. `cat config.scm |
ssh <remote-system> guix system build -e -`.

While you can currently just copy over a file and then use that, it
would be a little cleaner and more stateless to use a pipe.

What do other people think?


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-24  0:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-20 12:13 Make guix commands pipeable pkill9
2021-03-20 19:15 ` david larsson
2021-03-21 22:15   ` Léo Le Bouter
2021-03-24  0:01     ` pkill9
2021-03-24  0:03     ` pkill9
2021-03-21 10:21 ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).