help-guix
[Top][All Lists]
Advanced

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

Re: same package defined in multiple channels?


From: Andy Tai
Subject: Re: same package defined in multiple channels?
Date: Fri, 9 Feb 2024 09:38:35 -0800

Hi, thanks.  What if it is the case of the same package, same version, but
say j\ust differs in configure, compile or link flags (from multiple
definitions)?

On Fri, Feb 9, 2024 at 4:34 AM Irfan S <irfan@irfus.in> wrote:

> Andy Tai <atai@atai.org> writes:
>
> > Hi, I wonder if I have multiple Guix channels, and the same package is
> > defined in multiple channels, of different versions, what would happen
> > if I do guix pull?   Would the first package definition encountered in
> > the first channel containing the definition of this package in the
> > channel list be used, shadowing the other definitions in later
> > channels?
>
> Hi Andy,
>
> In such a case, both versions of the package will be available to install.
> You could either specify the version like, e.g. ‘guix package -i
> mypackage@specific-version’, or if you omit it, the newer version will be
> picked automatically.
>


-- 
Andy Tai, atai@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat:
andytai1010
Year 2023 民國112年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能


reply via email to

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