unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: jgart <jgart@dismail.de>, Guix Devel <guix-devel@gnu.org>
Subject: Re: CLI flag to ignore guix channel
Date: Fri, 27 Jan 2023 18:46:53 +0100	[thread overview]
Message-ID: <878rhnoooi.fsf@gmail.com> (raw)
In-Reply-To: <20221103215123.GB14781@dismail.de>

Hi,

On jeu., 03 nov. 2022 at 21:51, jgart <jgart@dismail.de> 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=guixrus

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 “guix
time-machine”, for example:

    guix time-machine -C path/to/channels-wo-guixrus.scm \
         -- import crate behemoth-rust-package-foo -r

HTH,
simon


  reply	other threads:[~2023-01-27 18:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04  2:51 CLI flag to ignore guix channel jgart
2023-01-27 17:46 ` Simon Tournier [this message]
2023-01-28 19:55   ` Csepp
2023-01-30 10:40     ` Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rhnoooi.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).