unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 44327@debbugs.gnu.org, Zhu Zihao <all_but_last@163.com>
Subject: bug#44327: `guix install` doesn't warn about collison in profile
Date: Fri, 30 Oct 2020 17:30:27 +0100	[thread overview]
Message-ID: <CAJ3okZ2UpyD6PexzNaU4J3OyvY0KBycuL7-Xdn4a4gBjo+4V1g@mail.gmail.com> (raw)
In-Reply-To: <87blgjy9ea.fsf@gnu.org>

On Fri, 30 Oct 2020 at 17:20, Ludovic Courtès <ludo@gnu.org> wrote:

> Currently, ‘guix install’ errors out if you try to install two
> same-named packages with a different version number or a different store
> file name (typically via propagated inputs).
>
> Here, ‘emacs’ and ‘emacs-xwidgets’ have different names, so it doesn’t
> complain.
>
> Perhaps we should offer a way to annotate packages as conflicting with
> one another?

Why?  The solution seems to check the path names.  Here, the 2
packages provide 'bin/emacs'; which is the conflict.  However, this
could be implemented with care otherwise it will slow down.
I have not check 'union-build' but maybe it is already the case. :-)



All the best,
simon




  reply	other threads:[~2020-10-30 16:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-30 11:17 bug#44327: `guix install` doesn't warn about collison in profile Zhu Zihao
2020-10-30 16:15 ` zimoun
2020-10-30 16:18 ` Ludovic Courtès
2020-10-30 16:30   ` zimoun [this message]
2020-10-31 10:31     ` Ludovic Courtès
2020-11-04  1:47     ` Zhu Zihao
2020-11-04 17:15       ` Ludovic Courtès

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=CAJ3okZ2UpyD6PexzNaU4J3OyvY0KBycuL7-Xdn4a4gBjo+4V1g@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=44327@debbugs.gnu.org \
    --cc=all_but_last@163.com \
    --cc=ludo@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).