Hi,

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