From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6KJXNh3nVWBfAgAA0tVLHw (envelope-from ) for ; Sat, 20 Mar 2021 12:14:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GDoXMh3nVWCPWAAAbx9fmQ (envelope-from ) for ; Sat, 20 Mar 2021 12:14:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2E34BC6EC for ; Sat, 20 Mar 2021 13:14:21 +0100 (CET) Received: from localhost ([::1]:47336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNaUl-000461-Q1 for larch@yhetil.org; Sat, 20 Mar 2021 08:14:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNaUc-00045e-Sr for guix-devel@gnu.org; Sat, 20 Mar 2021 08:14:10 -0400 Received: from aibo.runbox.com ([91.220.196.211]:60890) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNaUa-0006bV-0N for guix-devel@gnu.org; Sat, 20 Mar 2021 08:14:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Subject:To:From:Date; bh=F+qcfBy0uzoDU5T25M0efJEYUayV75QeuCc/0AD5UFg=; b=zytit+G75sso9WT3zotjG3YVPC djz3ZNrUczCqYLKmdH7Tjc2y7EtD0kr08MEU3JJDMX9KhJggP37qw7xqIK/qdLNy4ZxypgitO8S6z nIdF5miHLpJ8AcL1/JufcNgCenTADN3wYO+AGxMzIEo6T51z8/hvqjugvQBuE2WT0T29qXGh3Ghb1 cw6s5gaf6sXZqP9qXgiK97drnIKojHAFmF3dLlwp4jZb9PpWv1iO8hkotUMd4BWBbsJo9/M21ghUM +dNRGWCLIHyOJGU/S4RcDXqOxX/b/v3BIKYvfOyuPLu3477fLbsWfGgBjQZADpb+rgCeVS/55oeuQ QnFZhPsQ==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1lNaUU-0002LS-N0 for guix-devel@gnu.org; Sat, 20 Mar 2021 13:14:02 +0100 Received: by submission03.runbox with esmtpsa [Authenticated alias (780724)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1lNaUM-00061K-S7 for guix-devel@gnu.org; Sat, 20 Mar 2021 13:13:54 +0100 Date: Sat, 20 Mar 2021 12:13:53 +0000 From: pkill9 To: guix-devel@gnu.org Subject: Make guix commands pipeable Message-ID: <20210320121353.0e568c7a@runbox.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=91.220.196.211; envelope-from=pkill9@runbox.com; helo=aibo.runbox.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616242461; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=F+qcfBy0uzoDU5T25M0efJEYUayV75QeuCc/0AD5UFg=; b=hKHaHZB9u8beWfPlMrSbY/Q/aMT5/KJzPLo5TglA3VNTS8jaVVPEPwB97FLifycpYW/v7r l+CDfDKEz+qu80B+89L/96NIAgLj0lZWc6yrxVR/xWAot5NbkkXLU8AkrfKiPyja11q2Pt NQpo9ph/bq+fNPKCQ0WOEB9Xm8dyH2WOZyS61W4nUGWliVJgl1x+ORVOyh1k7KzZd0E9AA je0v6zoeyMEEwhV2p11jjna7B1VrkO5Atwa4gt035ji3mZlMZ9jCzorB+sukkjtg09o8KB HprDHKuHZOGnlvXCf9Jtal/LnpD7om780SqOMpgdr3kBJ6++5GRMqktrYDQPaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616242461; a=rsa-sha256; cv=none; b=Qc8abiWRD+a9fRvYFr8CIpXvF4zR5akU4ElzVjUOUrxTnWFz8WHNxu8aTo6/DFd2v6L4mU 6KpA2WME6UzvZeRZq/5PwISVUzUgHPcEX+jYU0olA4MZExE5fi5K8spL4M2eRs1XaoRACP ZYC/4d9z7Wseh9TKY8IkiCxllwbKQ2bRV7nnCKwxveIIKQKkeNR75l08cJj3Sflfa0a2iJ KrLH5Zi0xrmtL4ee1lBFF4nKNhHqzYR8Nbbg+1r4oXxvLpGo8pa5w6KLqxhawbajUrhoLN wXWAnrckBsPJhFhIwDAcozEeckVPnxK7gXNmlqMwwC37wuSqltmH0p4EJB/Dpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector2 header.b=zytit+G7; dmarc=pass (policy=none) header.from=runbox.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector2 header.b=zytit+G7; dmarc=pass (policy=none) header.from=runbox.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 2E34BC6EC X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: QiOGN/Dowt1Q 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 guix system build -`, or perhaps using the `--expression` flag which would make more sense, e.g. `cat config.scm | ssh 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?