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 mKS3JBfy3V/pQwAA0tVLHw (envelope-from ) for ; Sat, 19 Dec 2020 12:29:11 +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 CCxqIBfy3V/GLgAAbx9fmQ (envelope-from ) for ; Sat, 19 Dec 2020 12:29:11 +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 0BDD59403C9 for ; Sat, 19 Dec 2020 12:29:08 +0000 (UTC) Received: from localhost ([::1]:37548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqbMA-0004Ts-SS for larch@yhetil.org; Sat, 19 Dec 2020 07:29:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqbM0-0004Th-Ib for help-guix@gnu.org; Sat, 19 Dec 2020 07:28:56 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:45630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqbLx-0004LP-Hv for help-guix@gnu.org; Sat, 19 Dec 2020 07:28:56 -0500 Received: by mail-wr1-x434.google.com with SMTP id d26so5866535wrb.12 for ; Sat, 19 Dec 2020 04:28:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=kXZMq3cPqtbDP+QEcF9RNniM9fJqTRSGVqu8hTgeQBw=; b=k/AUEycPznA7pBjXp5yHZkf4QUneFzTL/PKsiG5Oq6ySIt+Uvl0HaGDLozPtnlzZMc 8rnx8pBrursGARowCthplAyG1bHlD45h5bjxWTUhD4OHmAwyRssoywTj1APAXqZbFgV4 gCo3jLNfLpVaEvmjYx8PdS9FfcBUnUDIhJbKHKSz7J2SmDRjqXfrddIc0dERCp+colrb 0mMMEIV6TOA3X93S0TsYelxjDYBkOMN0JY0/vlv+w4cEW8kyJh0XHoncdHk7AAWMzwiR DCUz3ik6Pkc4UYB/ThmseagF6S5fQFQoH+LT6PEcz5IgRymQwMotWWKUqdTjgK82tMOu TEkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=kXZMq3cPqtbDP+QEcF9RNniM9fJqTRSGVqu8hTgeQBw=; b=cCtMbp04qCiEA0alIAjSE8Cm0hRY2LdJjdZ2oPywNu6lWyGYZP5ahT0X8Kw93viwR3 1cEi4WtalZB4JPy04erIsmCqll5c+Ye/jxbx8OhjdFr82gdW2PakXDa1TbAw+IuFxoOp y8bZ8pS6dizmQzIU/1hDAY0dBUT9lbBnev2274XoNCl9dTCqyGfwI3c7/foDrQM1l9ES GR0Y57gA4CaaodJKK4lLLwer1dGY3bFGQQPe8n14TAHZro99onCMXdOCQuAH1kXEuoO5 SIxCZMpjLQLrx0etvqulyb4vZPDcTpab3NjzcHZqX9uM8cg0AfyXl8jppiUAUX6ggkCr /3Og== X-Gm-Message-State: AOAM531czAqjgLz5JKU6cBuxut1YUXoZuGCi9CASdu77wSyC+GrgeWYY VFCgqo8Tdw7SpaOekzGrf1e74gvJFlcbT+BL X-Google-Smtp-Source: ABdhPJxIz6ib0XBW+iiNUn1vTfrWZaiEZle0cXc7NpAG7JHsTNY9MNczz+DYl9xMtPBu82Sn5cv+Lg== X-Received: by 2002:a5d:67c3:: with SMTP id n3mr9107605wrw.297.1608380929816; Sat, 19 Dec 2020 04:28:49 -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 z64sm15016861wme.10.2020.12.19.04.28.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Dec 2020 04:28:48 -0800 (PST) References: <85czzbx878.fsf@beadling.co.uk> User-agent: mu4e 1.2.0; emacs 26.3 From: Phil To: zimoun Subject: Re: guix pull only from private channel In-reply-to: Date: Sat, 19 Dec 2020 12:28:47 +0000 Message-ID: <85bleqx9mo.fsf@beadling.co.uk> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::434; envelope-from=phil@beadling.co.uk; helo=mail-wr1-x434.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: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=k/AUEycP; 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: 0BDD59403C9 X-Spam-Score: -1.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4OrpEQyvM8FM Thanks Simon - that helped! zimoun writes: > About this, you should write a specific channels.scm file and then run: > > guix pull -C channels.scm > The bit I was missing was how do I create a channels file that keeps 'guix' at a constant commit - the scheme snippet you sent me is perfect, and gave me a good way-in to the API - thanks! One question - what's the reasoning about making all channel files have a guix channel? Obviously it makes sense that there must be a guix channel referenced somewhere - but my expectation was (wrongly) that if I created a channel file with only my private channel in it, it would simply ignore guix and pull only what my private channel offered. Instead it complains that there is no guix channel defined. I'm guessing it wants to weigh-up guix vs my private channel to pick the latest version of a package from either, but that doesn't make sense to me if I know that my private channel contains packages which are always mutually exclusive from the guix channel?