guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CLI flag to ignore guix channel


From: Simon Tournier
Subject: Re: CLI flag to ignore guix channel
Date: Fri, 27 Jan 2023 18:46:53 +0100

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 via email to

[Prev in Thread] Current Thread [Next in Thread]