From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id APVRBHwe1GPJGQAAbAwnHQ (envelope-from ) for ; Fri, 27 Jan 2023 19:57:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CPlkA3we1GMpDwEAG6o9tA (envelope-from ) for ; Fri, 27 Jan 2023 19:57:00 +0100 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 C5940E6A9 for ; Fri, 27 Jan 2023 19:56:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLTte-0001eh-DJ; Fri, 27 Jan 2023 13:56:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLTtc-0001eE-HP for guix-devel@gnu.org; Fri, 27 Jan 2023 13:56:20 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLTta-0006fJ-U1 for guix-devel@gnu.org; Fri, 27 Jan 2023 13:56:20 -0500 Received: by mail-wm1-x330.google.com with SMTP id q8so4094932wmo.5 for ; Fri, 27 Jan 2023 10:56:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=59BddMsaWhsxb+R31PgF7F/a4Pfgimw6Yb3dYngsTo4=; b=e5Ue3kM3VwI9n0h0nOWkH3VAeyZZ58diXEq3A/JrBylFUCxKADpqjLirBBcCKTnXQv jNghxhUmrGk4nLIf4TA2H1ZI+KviGRtv+zgVaVdiBecCF/N06ICQh/ycZviOq8W5vfj2 Dvr7r5UgTREqoL70+7Y/hOvmptW6EbXWokyyZjkcTur1NhP1VaAmABdJcmav82RdroP5 OaKp7NB+F7jSVZG0lXhKsUABx6FAvAMqBZKp6YKLdltVq3S+lO33oyVftD5LXxf1xqK9 RCfWSpB1M0UUJ1vLmIfvFlp5RLx2gFrK70Lx2rM7AOejIqaT4nfAF4LbST8kZBHSB/L+ iUJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=59BddMsaWhsxb+R31PgF7F/a4Pfgimw6Yb3dYngsTo4=; b=34075h4bqsGwCBONer3pnp4+P9RXssZiWxmxxIjke/aScOTpp+OYuQ1/aKL1Yt5bwg QacCyDkjhrY0eOKf+2eGnycDL4h7x3kySXixYJUb//xFFiiUJG9ehU7N0WPY3+SODB2j nqOT1y7mOm9fHfyBC/Yl13y1OMdV+WhepvY9RzPdeTQ5yR/kMst/qZwb5bf5YdKBYTff WAoYePw4QyPM7bx6p2usBROVhzTUNJB7Oq4ai7X0326zEIijhrxQJI02dizXVMUCFYLm SBqVyiIOu7NI/Yvhd4fgmrzgqo8WuTRZqwZzh7sBBLOcm3ctajVTZBT28eobeoGZsYOO jY2Q== X-Gm-Message-State: AFqh2koQKJFqh7vdFRfeuOxOmgowOjsjOnCFV+c7DJoihMIea0fASFQ7 4fRTVMiaNIqxqxOeW69GXLrzfuZvKPQ= X-Google-Smtp-Source: AMrXdXvcBhW9cc0x8CrsXd0iSrUPj0qMSFLV40IKebEARDBHHd5dujNZWx01J4QH45dcI2rmOIfpGQ== X-Received: by 2002:a05:600c:3b0a:b0:3db:22a:1349 with SMTP id m10-20020a05600c3b0a00b003db022a1349mr10557756wms.2.1674845777405; Fri, 27 Jan 2023 10:56:17 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id e4-20020adfef04000000b002bded7da2b8sm4653985wro.102.2023.01.27.10.56.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jan 2023 10:56:17 -0800 (PST) From: Simon Tournier To: jgart , Guix Devel Subject: Re: CLI flag to ignore guix channel In-Reply-To: <20221103215123.GB14781@dismail.de> References: <20221103215123.GB14781@dismail.de> Date: Fri, 27 Jan 2023 18:46:53 +0100 Message-ID: <878rhnoooi.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674845819; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=59BddMsaWhsxb+R31PgF7F/a4Pfgimw6Yb3dYngsTo4=; b=bm44f3Rqr0DyirOt+7SZOml5niYnZix/81DLOHmItvjA3I8dfWWZ919K8uYCZ4GVGfyDFz Z5GB/doStJbQPxT6ThTDf0jvZIayWCZ6iCOJUK92Ip6p9FFCGoTcMeB7q9uEQoEes6grNK pndaYKWKHKLNrsPQBPJXkV6HKwTUplBiI6B2o5d7spv7Ls1l/BHvDXGMd4X9YqiGJMhGcH rhsKnWp6s3sJfHJ23zknZYG8bjDrzCGzF9eia6sXeeZkr3YJ7tbNTk89sWNpUHwIxW6s74 dIKuen6IgieGsnQ4FMdnrJXCTCBKI2gK8nlIP5c+FqirGX25NGWWl9SRxvwr7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=e5Ue3kM3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674845819; a=rsa-sha256; cv=none; b=P5r07bEdzgWKbkn7LDbtIm8lF9miQ/QlZz2bh8MIFUWdQXARJV3VeCDL8DCawl6NO9kLxt PHxBpbDb7GXDQE8kyLiW2AUCTjEvRYLMl9WMvia3AraxjuVG9ZAZuAiokDwRxbBamIuWLi /PlBn6a6pgezuPHwr4sw4pIQaVjSDOk49+/xwOj7b/koskylLao4W1MiryvDUzj8QAxgqu 9KsbXork4+tysAqiNJcYSBC4atTnM2cTeUNl4Ycuwm4Xa9w+lwyIF3nv/KcJR+GAmXD8oR tm9JP47d8+RvrJ75flvrIVS6MFOalNbz7qls77hKHqw46kYa4PHG7bXeo8x15g== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=e5Ue3kM3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.75 X-Spam-Score: -9.75 X-Migadu-Queue-Id: C5940E6A9 X-TUID: wBZuDs1nHS3i Hi, On jeu., 03 nov. 2022 at 21:51, jgart wrote: > I'd like a CLI flag to be able to ignore channels. > > Where should I look if I'd like to implement something like this? > > I prefer not to edit and comment out channels in ~/.config/guix/channels.= scm > > I'd prefer to do the following > > guix import crate behemoth-rust-package-foo -r --ignore-channel=3Dguixrus Well, this would be nice but we have nothing in this direction. >From my point of view, the best is to have several channels.scm files where some or other channels are defined. Then, you switch using =E2=80=9C= guix time-machine=E2=80=9D, for example: guix time-machine -C path/to/channels-wo-guixrus.scm \ -- import crate behemoth-rust-package-foo -r HTH, simon