unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Irfan S <irfan@irfus.in>
To: Andy Tai <atai@atai.org>
Cc: help-guix@gnu.org
Subject: Re: same package defined in multiple channels?
Date: Fri, 09 Feb 2024 18:04:42 +0530	[thread overview]
Message-ID: <87jznd3jfh.fsf@irfus.in> (raw)
In-Reply-To: <CAJsg1E_LkrFHruRxA=xui7fg4O3kc339iagt6hT_Btr5J25siA@mail.gmail.com> (Andy Tai's message of "Fri, 9 Feb 2024 00:15:02 -0800")

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.


  reply	other threads:[~2024-02-14 21:57 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 [this message]
2024-02-09 17:38   ` Andy Tai
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=87jznd3jfh.fsf@irfus.in \
    --to=irfan@irfus.in \
    --cc=atai@atai.org \
    --cc=help-guix@gnu.org \
    /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).