[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CLI flag to ignore guix channel
From: |
Csepp |
Subject: |
Re: CLI flag to ignore guix channel |
Date: |
Sat, 28 Jan 2023 20:55:01 +0100 |
Simon Tournier <zimon.toutoune@gmail.com> writes:
> 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
How fast is that? If new commits come in during time-machine
invocations, won't it keep doing new builds of guix?