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 OMDrG2UA2V8RcwAA0tVLHw (envelope-from ) for ; Tue, 15 Dec 2020 18:28:53 +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 cG6gF2UA2V/ZZwAAbx9fmQ (envelope-from ) for ; Tue, 15 Dec 2020 18:28:53 +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 7F6AD940480 for ; Tue, 15 Dec 2020 18:28:52 +0000 (UTC) Received: from localhost ([::1]:38226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpF46-0006Op-U1 for larch@yhetil.org; Tue, 15 Dec 2020 13:28:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpEaf-0008AQ-6a for help-guix@gnu.org; Tue, 15 Dec 2020 12:58:25 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:34336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpEad-000235-BO for help-guix@gnu.org; Tue, 15 Dec 2020 12:58:24 -0500 Received: by mail-wr1-x42f.google.com with SMTP id q18so13244636wrn.1 for ; Tue, 15 Dec 2020 09:58:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20150623.gappssmtp.com; s=20150623; h=user-agent:from:to:subject:date:message-id:mime-version; bh=zV7lqf8ipytHw8hgOVPUbtsgjVUVZDWI9wRY46kVkyM=; b=GZBYPpHuEO94MaA1kgQIqK9FZZ2Q+efm4fYNhSIJ3P31jNAQIlEgilUNUjyWo/4Ygv q1NAc7Zxch9Bl61/vAl0pE+MRd52q+BgiX0L+xsrQq2iRjugWsZ/G6U5wUtFut/27jA0 1qxo+b0pdZ0P0sE4HII26aZzR9f8tny5K0tX+zIolsQ13tJ/XYKNkk4ckhY28svryMuD CuSBi324X8yQRDEMtK0oPLdcMWqIpV3CXk6ktX6GEZ1r2Zk3jFsuRW5suLYhY3N5zFLz wxdphA//npMGa8KM89h9OjVnGOCRV1N6DALMTyDJ6zNJJVgWq52AeYOS3mtLIRcN7diB HyXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=zV7lqf8ipytHw8hgOVPUbtsgjVUVZDWI9wRY46kVkyM=; b=Qwr/2H2E07/RB/717Mco29LUEu760UG5LX8mmHLtG+Q8hEkxUt5kkpIzerB5qdkINx 9Yd5DOotPOjprRi5sy3VCMHMZBrDUatMV+gLyO9rQJJ5qWlJoOKuDwNUCxe663HrngsJ r+NznTLaift8aiEZtV2+q/Y3Nv/tmF0SPIu4DGI8o3uPwnZn6r5QxINX6Z4ii3OgFqNZ jjv3oQ9qG2NPa6kncPZTQfXnoJXhg05HIA5ZX7+2PaEiniZwFMFJQ1ZTlDn0s5JyZ6Gn QJGadozCqW9VH9zFwQ6qcxWrJP55a7v7pnSN87FL+aUIKc2X4coQEAZJxiVsas5CDgwH OaVg== X-Gm-Message-State: AOAM531fuEJJfd+bkvGXWwi6EGGzXh/RY3wfZqjA3JX76FNZcze7s+a2 FN9P2BYvsbowwROeliDPfDNKbOopP3UrPuld X-Google-Smtp-Source: ABdhPJxeefr3teNbBKgp0YGbFbTrS9A+cxlYe+xYimT63lw0+cNbZB7qlLv5L9X1a7gkULYbhHZo8Q== X-Received: by 2002:a5d:5044:: with SMTP id h4mr35490965wrt.149.1608055101016; Tue, 15 Dec 2020 09:58:21 -0800 (PST) Received: from phil-XPS-13-9360 (host-78-147-225-8.as13285.net. [78.147.225.8]) by smtp.gmail.com with ESMTPSA id x13sm4621584wrp.80.2020.12.15.09.58.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Dec 2020 09:58:20 -0800 (PST) User-agent: mu4e 1.2.0; emacs 26.3 From: Phil To: help-guix@gnu.org Subject: guix pull only from private channel Date: Tue, 15 Dec 2020 17:58:19 +0000 Message-ID: <85czzbx878.fsf@beadling.co.uk> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::42f; envelope-from=phil@beadling.co.uk; helo=mail-wr1-x42f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=GZBYPpHu; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 7F6AD940480 X-Spam-Score: -2.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6MfQodWqTi6J Hi all, Two things I can't find clarified anywhere - when doing a guix pull from a private channel which provides supplementary packages to the standard Guix channel. 1) If the private channel is a git repo accessed via ssh it seems necessary to add the ssh key to an ssh-agent rather than have it pick up ~/.ssh/id_rsa. This isn't a huge problem but when the ssh key has no passphrase the use of an agent is actually more complicated than passing the key directly? Is it possible to specify a key file, and if not, is there any good reason why not (I thought perhaps it might be access via the guix-daemon or similar at a wild guess)? 2) Assuming I use an ssh-agent to avoid issue in 1), if I want to only pull updates from my private channel and not from the Guix channel, I find myself doing something like the below to force Guix channel to stay constant: eval `ssh-agent` && ssh-add && guix pull --commit=$(guix describe -f json | jq -r '.[] | select(.name=="guix").commit') && guix upgrade my-package-name This works, but it feels rather ugly - is there an easier way of saying "hold guix constant, but pull in latest updates from my private channel" - it feels like a common use-case to me? Thanks, Phil.