unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Andy Tai <atai@atai.org>
To: Irfan S <irfan@irfus.in>
Cc: help-guix@gnu.org
Subject: Re: same package defined in multiple channels?
Date: Fri, 9 Feb 2024 09:38:35 -0800	[thread overview]
Message-ID: <CAJsg1E-2Oq7iyyS44FBFcPdU3WZ+=b+LTEv2UzgAuH3iFnQovQ@mail.gmail.com> (raw)
In-Reply-To: <87jznd3jfh.fsf@irfus.in>

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	other threads:[~2024-02-09 17:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-09  8:15 same package defined in multiple channels? Andy Tai
2024-02-09 12:34 ` Irfan S
2024-02-09 17:38   ` Andy Tai [this message]
2024-02-09 19:04     ` Irfan S
2024-02-09 18:00 ` Julien Lepiller

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='CAJsg1E-2Oq7iyyS44FBFcPdU3WZ+=b+LTEv2UzgAuH3iFnQovQ@mail.gmail.com' \
    --to=atai@atai.org \
    --cc=help-guix@gnu.org \
    --cc=irfan@irfus.in \
    /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.
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).